setOuter method Null safety

void setOuter(
  1. Vector3 u,
  2. Vector3 v
)

Set this to the outer product of u and v.

Implementation

void setOuter(Vector3 u, Vector3 v) {
  final uStorage = u._v3storage;
  final vStorage = v._v3storage;
  _m3storage[0] = uStorage[0] * vStorage[0];
  _m3storage[1] = uStorage[0] * vStorage[1];
  _m3storage[2] = uStorage[0] * vStorage[2];
  _m3storage[3] = uStorage[1] * vStorage[0];
  _m3storage[4] = uStorage[1] * vStorage[1];
  _m3storage[5] = uStorage[1] * vStorage[2];
  _m3storage[6] = uStorage[2] * vStorage[0];
  _m3storage[7] = uStorage[2] * vStorage[1];
  _m3storage[8] = uStorage[2] * vStorage[2];
}