pub struct Matrix3x3 {
pub data: [f64; 9],
}Expand description
3x3 Matrix representation in column-major order for camera and projection mathematics.
Fields§
§data: [f64; 9]Elements stored as flat row-major or column-major [f64; 9]
Implementations§
Source§impl Matrix3x3
impl Matrix3x3
Sourcepub fn from_row_major(data: [f64; 9]) -> Self
pub fn from_row_major(data: [f64; 9]) -> Self
Creates a 3x3 matrix from a flat 9-element array in row-major order.
Sourcepub fn determinant(&self) -> f64
pub fn determinant(&self) -> f64
Computes the determinant of the 3x3 matrix.
Trait Implementations§
impl Copy for Matrix3x3
impl StructuralPartialEq for Matrix3x3
Auto Trait Implementations§
impl Freeze for Matrix3x3
impl RefUnwindSafe for Matrix3x3
impl Send for Matrix3x3
impl Sync for Matrix3x3
impl Unpin for Matrix3x3
impl UnsafeUnpin for Matrix3x3
impl UnwindSafe for Matrix3x3
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