Struct geomath::matrix::Matrix2 [−][src]
Expand description
2x2 matrix
Fields
xx: f64
xy: f64
yx: f64
yy: f64
Implementations
Trait Implementations
Performs the +=
operation. Read more
Get the determinant of the matrix
Set inverse matrix
Set transposed matrix
Set adjugate matrix
Get the transposed matrix
Performs the /=
operation. Read more
Set the Hermite’s interpolation
Set the Bezier’s interpolation
Get linear interpolation
Get cubic Hermite’s interpolation, ie. with two tangent values
Squared magnitude of an object
Normalizes the vector, ie. sets magnitude to 1 without changing direction
Get the normalized vector, ie. vector with same direction and magnitude 1
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Set a rotation matrix from angle
Get a rotation matrix from angle
Set a similarity matrix from scale factor, rotation matrix and translation vector
Get a similarity matrix from scale factor, rotation matrix and translation vector
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for Matrix2
impl UnwindSafe for Matrix2
Blanket Implementations
Mutably borrows from an owned value. Read more