Struct gltf_json::scene::UnitQuaternion []

pub struct UnitQuaternion(pub [f32; 4]);

Unit quaternion rotation in the order (x, y, z, w), where w is the scalar.

Trait Implementations

impl Clone for UnitQuaternion

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UnitQuaternion

impl Debug for UnitQuaternion

Formats the value using the given formatter.

impl Default for UnitQuaternion

Returns the "default value" for a type. Read more

impl Validate for UnitQuaternion

Validates the data against the glTF 2.0 specification.

Validates only the invariants required for the library to function safely.