sbylib ~master (2020-02-29T08:12:18Z)
Dub
Repo
lengthSq
sbylib
math
quaternion
Returns length of a quaternion.
T
lengthSq
(
T
)
(
const
Quaternion
!
T
q
)
Parameters
q
Quaternion
!
T
target quaternion
Return Value
Type:
T
length of the target quaternion
Meta
Source
See Implementation
sbylib
math
quaternion
aliases
quat
functions
approxEqual
length
lengthSq
normalize
rotate
safeNormalize
slerp
toMatrix3
toMatrix4
structs
Quaternion
Returns length of a quaternion.