Quaternion.setMagnitude

Sets the magnitude of this quaternion

If the previous magnitude is zero, the x value of the quaternion will be set to the magnitude

struct Quaternion
void
setMagnitude
(
float magnitude
)

Meta