pub struct Matrix3f {
pub v: [[f32; 3]; 3],
}
Expand description
Matrix math helper
Fields§
§v: [[f32; 3]; 3]
Implementations§
Source§impl Matrix3f
impl Matrix3f
pub const IDENTITY: Matrix3f
pub const fn test_equality(&self, other: Matrix3f) -> bool
pub const fn determinant(&self) -> Option<f32>
pub fn inverse(&self) -> Option<Self>
pub fn mul_row<const R: usize>(&self, rhs: f32) -> Self
pub fn mul_row_vector<const R: usize>(&self, rhs: Vector3f) -> Self
pub fn mul_vector(&self, other: Vector3f) -> Vector3f
pub fn mat_mul(&self, other: Matrix3f) -> Self
Trait Implementations§
impl Copy for Matrix3f
Auto Trait Implementations§
impl Freeze for Matrix3f
impl RefUnwindSafe for Matrix3f
impl Send for Matrix3f
impl Sync for Matrix3f
impl Unpin for Matrix3f
impl UnwindSafe for Matrix3f
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