splatDiagonal method

void splatDiagonal(
  1. double arg
)

Sets the diagonal to arg.

Implementation

void splatDiagonal(double arg) {
  _m4storage[0] = arg;
  _m4storage[5] = arg;
  _m4storage[10] = arg;
  _m4storage[15] = arg;
}