identity method
Set the current 3x3 matrix as an identity matrix.
Implementation
Matrix3 identity() {
setValues(1, 0, 0, 0, 1, 0, 0, 0, 1);
return this;
}
Set the current 3x3 matrix as an identity matrix.
Matrix3 identity() {
setValues(1, 0, 0, 0, 1, 0, 0, 0, 1);
return this;
}