Struct gvr_sys::gvr_quatf
[−]
[src]
#[repr(C)]pub struct gvr_quatf { pub qx: f32, pub qy: f32, pub qz: f32, pub qw: f32, }
A floating point quaternion, in JPL format. We use this simple struct in order not to impose a dependency on a particular math library. The user of this API is free to encapsulate this into any math library they want.
Fields
qx: f32
qx, qy, qz are the vector components.
qy: f32
qz: f32
qw: f32
qw is the scalar component.
Trait Implementations
impl Debug for gvr_quatf
[src]
impl Copy for gvr_quatf
[src]
impl Clone for gvr_quatf
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more