setDiagonal method Null safety
- Vector3 arg
Set the diagonal of the matrix.
Implementation
void setDiagonal(Vector3 arg) {
_m3storage[0] = arg.storage[0];
_m3storage[4] = arg.storage[1];
_m3storage[8] = arg.storage[2];
}
Set the diagonal of the matrix.
void setDiagonal(Vector3 arg) {
_m3storage[0] = arg.storage[0];
_m3storage[4] = arg.storage[1];
_m3storage[8] = arg.storage[2];
}