Function valence::math::quat

source ยท
pub const fn quat(x: f32, y: f32, z: f32, w: f32) -> Quat
Expand description

Creates a quaternion from x, y, z and w values.

This should generally not be called manually unless you know what you are doing. Use one of the other constructors instead such as identity or from_axis_angle.