#[repr(C)]pub struct gvr_quatf {
pub qx: f32,
pub qy: f32,
pub qz: f32,
pub qw: f32,
}Expand description
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: f32qx, qy, qz are the vector components.
qy: f32§qz: f32§qw: f32qw is the scalar component.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for gvr_quatf
impl RefUnwindSafe for gvr_quatf
impl Send for gvr_quatf
impl Sync for gvr_quatf
impl Unpin for gvr_quatf
impl UnwindSafe for gvr_quatf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more