pub trait Matrix4 {
Show 19 methods
// Required methods
fn as_ptr_mut(&mut self) -> *mut f64;
fn as_ptr(&self) -> *const f64;
fn is_quaternion(&self) -> bool;
fn to_Q(&self) -> [f64; 4];
fn prec_eq(&self, e: f64, m: [f64; 16]) -> bool;
fn as_mat(&self) -> ODEMat<'_>;
// Provided methods
fn new() -> [f64; 16] { ... }
fn t(m: [f64; 16]) -> [f64; 16] { ... }
fn t_ptr(m: *const f64) -> [f64; 16] { ... }
fn q_conjugate(m: [f64; 16]) -> [f64; 16] { ... }
fn q_conjugate_ptr(m: *const f64) -> [f64; 16] { ... }
fn from_Conjugate_Q(q: [f64; 4]) -> [f64; 16] { ... }
fn from_Conjugate_Q_ptr(q: *const f64) -> [f64; 16] { ... }
fn from_P(p: [f64; 4]) -> [f64; 16] { ... }
fn from_P_ptr(p: *const f64) -> [f64; 16] { ... }
fn from_Q(q: [f64; 4]) -> [f64; 16] { ... }
fn from_Q_ptr(q: *const f64) -> [f64; 16] { ... }
fn multiply0_444(a: [f64; 16], b: [f64; 16]) -> [f64; 16] { ... }
fn multiply0_444_pp(a: *const f64, b: *const f64) -> [f64; 16] { ... }
}
Expand description
constructor and converter for primitive type
Required Methods§
sourcefn as_ptr_mut(&mut self) -> *mut f64
fn as_ptr_mut(&mut self) -> *mut f64
ptr mut of dMatrix4
sourcefn is_quaternion(&self) -> bool
fn is_quaternion(&self) -> bool
check dMatrix4 is dQuaternion
Provided Methods§
sourcefn from_Conjugate_Q_ptr(q: *const f64) -> [f64; 16]
fn from_Conjugate_Q_ptr(q: *const f64) -> [f64; 16]
constructor (converter) q: dQuaternion pointer
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl Matrix4 for [f64; 16]
impl Matrix4 for [f64; 16]
source§fn as_ptr_mut(&mut self) -> *mut f64
fn as_ptr_mut(&mut self) -> *mut f64
ptr mut of dMatrix4
source§fn is_quaternion(&self) -> bool
fn is_quaternion(&self) -> bool
check dMatrix4 is dQuaternion