setValues

Sets the quaternion's components to the provided values.

Parameters

v

The array containing the new values x, y, z, w.


fun setValues(x: Float, y: Float, z: Float, w: Float)

Sets the quaternion's components to the provided values.

Parameters

x

The new value for the x-component.

y

The new value for the y-component.

z

The new value for the z-component.

w

The new value for the w-component.


Sets the quaternion's components to match those of the provided quaternion.

Parameters

o

The quaternion to copy the values from.