sbylib ~master (2020-02-29T08:12:18Z)
Dub
Repo
length
sbylib
math
quaternion
Returns length of a quaternion.
T
length
(
T
)
(
const
Quaternion
!
T
q
)
if
(
__traits(
isFloating
,
T
)
)
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.