Type Alias dMatrix4

Source
pub type dMatrix4 = [f64; 16];

Trait Implementations§

Source§

impl Matrix4 for dMatrix4

Source§

fn as_ptr_mut(&mut self) -> *mut dReal

ptr mut of dMatrix4

Source§

fn as_ptr(&self) -> *const dReal

ptr of dMatrix4 (use for converter)

Source§

fn is_quaternion(&self) -> bool

check dMatrix4 is dQuaternion

Source§

fn to_Q(&self) -> dQuaternion

to dQuatrenion (check is_quaternion() before)

Source§

fn prec_eq(&self, e: dReal, m: dMatrix4) -> bool

check equal with precision

Source§

fn as_mat(&self) -> ODEMat<'_>

for Debug

Source§

fn new() -> dMatrix4

construct as Identity
Source§

fn t(m: dMatrix4) -> dMatrix4

constructor (transpose)
Source§

fn t_ptr(m: *const dReal) -> dMatrix4

constructor (transpose) pointer
Source§

fn q_conjugate(m: dMatrix4) -> dMatrix4

constructor (Quaternion conjugate)
Source§

fn q_conjugate_ptr(m: *const dReal) -> dMatrix4

constructor (Quaternion conjugate) pointer
Source§

fn from_Conjugate_Q(q: dQuaternion) -> dMatrix4

constructor (converter) q: dQuaternion
Source§

fn from_Conjugate_Q_ptr(q: *const dReal) -> dMatrix4

constructor (converter) q: dQuaternion pointer
Source§

fn from_P(p: dQuaternion) -> dMatrix4

constructor (converter) p: dQuaternion
Source§

fn from_P_ptr(p: *const dReal) -> dMatrix4

constructor (converter) p: dQuaternion pointer
Source§

fn from_Q(q: dQuaternion) -> dMatrix4

constructor (converter) q: dQuaternion
Source§

fn from_Q_ptr(q: *const dReal) -> dMatrix4

constructor (converter) q: dQuaternion pointer
Source§

fn multiply0_444(a: dMatrix4, b: dMatrix4) -> dMatrix4

constructor multiply a: dMatrix4 and b: dMatrix4
Source§

fn multiply0_444_pp(a: *const dReal, b: *const dReal) -> dMatrix4

constructor multiply a: dMatrix4 pointer and b: dMatrix4 pointer