quat:__len

Returns the length of the quaternion.

length = quat:__len(q)

Arguments

NameTypeDescription
qquatThe quaternion.

Returns

NameTypeDescription
lengthnumberThe length of the quaternion.

See also