Fields
col: [Vector4<T>; 4]Implementations
sourceimpl<T: Scalar> Matrix4<T>
impl<T: Scalar> Matrix4<T>
pub fn new(
m0: T,
m1: T,
m2: T,
m3: T,
m4: T,
m5: T,
m6: T,
m7: T,
m8: T,
m9: T,
m10: T,
m11: T,
m12: T,
m13: T,
m14: T,
m15: T
) -> Self
pub fn identity() -> Self
pub fn determinant(&self) -> T
pub fn transpose(&self) -> Self
pub fn inverse(&self) -> Self
pub fn mul_matrix_matrix(l: &Self, r: &Self) -> Self
pub fn mul_matrix_vector(l: &Self, r: &Vector4<T>) -> Vector4<T>
pub fn mul_vector_matrix(l: &Vector4<T>, r: &Self) -> Vector4<T>
pub fn add_matrix_matrix(l: &Self, r: &Self) -> Self
pub fn sub_matrix_matrix(l: &Self, r: &Self) -> Self
Trait Implementations
impl<T: Copy + Scalar> Copy for Matrix4<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Matrix4<T> where
T: RefUnwindSafe,
impl<T> Send for Matrix4<T> where
T: Send,
impl<T> Sync for Matrix4<T> where
T: Sync,
impl<T> Unpin for Matrix4<T> where
T: Unpin,
impl<T> UnwindSafe for Matrix4<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more