length

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