pub struct Mat3x3 {
pub mat: [[f64; 3]; 3],
}
Expand description
Simple 3x3 Matrix for graphics maths.
This poorly named function actually gives the 3x3 identity matrix scaled by the parameter val
.
Gives a rotation matrix to rotate a vertex about the origin.
The resulting type after applying the *
operator.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.