Struct gee::Transform3d [−][src]
#[repr(C)]pub struct Transform3d<T = f32> {Show 16 fields
pub m11: T,
pub m12: T,
pub m13: T,
pub m14: T,
pub m21: T,
pub m22: T,
pub m23: T,
pub m24: T,
pub m31: T,
pub m32: T,
pub m33: T,
pub m34: T,
pub m41: T,
pub m42: T,
pub m43: T,
pub m44: T,
}
Fields
m11: T
m12: T
m13: T
m14: T
m21: T
m22: T
m23: T
m24: T
m31: T
m32: T
m33: T
m34: T
m41: T
m42: T
m43: T
m44: T
Implementations
pub fn row_major(
m11: T,
m12: T,
m13: T,
m14: T,
m21: T,
m22: T,
m23: T,
m24: T,
m31: T,
m32: T,
m33: T,
m34: T,
m41: T,
m42: T,
m43: T,
m44: T
) -> Self
Creates an orthographic projection matrix with all of those standard arguments you can never remember.
Creates an orthographic projection matrix with the defaults you almost always want.
Creates a perspective projection matrix for whatever 3D side project you’ve been secretly making.
Creates a new matrix by multiplying another matrix after this matrix.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Transform3d<T> where
T: RefUnwindSafe,
impl<T> Send for Transform3d<T> where
T: Send,
impl<T> Sync for Transform3d<T> where
T: Sync,
impl<T> Unpin for Transform3d<T> where
T: Unpin,
impl<T> UnwindSafe for Transform3d<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more