setDiagonal method Null safety

void setDiagonal(
  1. 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];
}