#[repr(align(16))]pub struct TQuat<T: Real> { /* private fields */ }
Implementations§
Source§impl<T: Real> TQuat<T>
impl<T: Real> TQuat<T>
Sourcepub fn from_euler_angles(angles: TVec3<T>) -> Self
pub fn from_euler_angles(angles: TVec3<T>) -> Self
pub fn from_angle_axis(angle: T, axis: TVec3<T>) -> TQuat<T>
Sourcepub fn as_angle_axis(&self) -> (T, TVec3<T>)
pub fn as_angle_axis(&self) -> (T, TVec3<T>)
Sourcepub fn scalar_mut(&mut self) -> &mut T
pub fn scalar_mut(&mut self) -> &mut T
Trait Implementations§
Source§impl<T: Real> InverseAssign for TQuat<T>
impl<T: Real> InverseAssign for TQuat<T>
fn inverse_assign(&mut self)
Source§impl<T: Real> MulAssign for TQuat<T>
impl<T: Real> MulAssign for TQuat<T>
Source§fn mul_assign(&mut self, rhs: TQuat<T>)
fn mul_assign(&mut self, rhs: TQuat<T>)
Performs the
*=
operation. Read moreSource§impl<T: Real> NormalizeAssign for TQuat<T>
impl<T: Real> NormalizeAssign for TQuat<T>
fn normalize_assign(&mut self)
impl<T: Copy + Real> Copy for TQuat<T>
Auto Trait Implementations§
impl<T> Freeze for TQuat<T>where
T: Freeze,
impl<T> RefUnwindSafe for TQuat<T>where
T: RefUnwindSafe,
impl<T> Send for TQuat<T>where
T: Send,
impl<T> Sync for TQuat<T>where
T: Sync,
impl<T> Unpin for TQuat<T>where
T: Unpin,
impl<T> UnwindSafe for TQuat<T>where
T: UnwindSafe,
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