Struct Matrix4x4
#[repr(C)]pub struct Matrix4x4 {}
Fields§
§M11: f32
§M12: f32
§M13: f32
§M14: f32
§M21: f32
§M22: f32
§M23: f32
§M24: f32
§M31: f32
§M32: f32
§M33: f32
§M34: f32
§M41: f32
§M42: f32
§M43: f32
§M44: f32
Implementations§
§impl Matrix4x4
impl Matrix4x4
pub const fn translation(x: f32, y: f32, z: f32) -> Self
pub fn rotation_y(degree: f32) -> Self
pub fn perspective_projection(depth: f32) -> Self
Trait Implementations§
impl Copy for Matrix4x4
impl StructuralPartialEq for Matrix4x4
Auto Trait Implementations§
impl Freeze for Matrix4x4
impl RefUnwindSafe for Matrix4x4
impl Send for Matrix4x4
impl Sync for Matrix4x4
impl Unpin for Matrix4x4
impl UnwindSafe for Matrix4x4
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