setDiagonal method
Sets the diagonal of the matrix to be arg
.
Implementation
void setDiagonal(Vector2 arg) {
final argStorage = arg._v2storage;
_m2storage[0] = argStorage[0];
_m2storage[3] = argStorage[1];
}
Sets the diagonal of the matrix to be arg
.
void setDiagonal(Vector2 arg) {
final argStorage = arg._v2storage;
_m2storage[0] = argStorage[0];
_m2storage[3] = argStorage[1];
}