Struct raylib::core::math::Matrix [−][src]
#[repr(C)]pub struct Matrix {}
Fields
m0: f32
m4: f32
m8: f32
m12: f32
m1: f32
m5: f32
m9: f32
m13: f32
m2: f32
m6: f32
m10: f32
m14: f32
m3: f32
m7: f32
m11: f32
m15: f32
Implementations
Returns xyz-rotation matrix (angles in radians)
Returns perspective projection matrix based on frustum parameters.
Returns perspective projection matrix.
Returns orthographic projection matrix.
Returns camera look-at matrix (view matrix).
Calculates the determinant of the current matrix.
Calculates the trace of the matrix (sum of the values along the diagonal).
Returns a new Matrix
transposed from the current one.
Returns a new Matrix
normalized from the current one.
Trait Implementations
Performs the +=
operation. Read more
Performs the *=
operation. Read more
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for Matrix
impl UnwindSafe for Matrix
Blanket Implementations
Mutably borrows from an owned value. Read more