setOuter method

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

Set this to the outer product of u and v.

Implementation

void setOuter(Vector2 u, Vector2 v) {
  final uStorage = u._v2storage;
  final vStorage = v._v2storage;
  _m2storage[0] = uStorage[0] * vStorage[0];
  _m2storage[1] = uStorage[0] * vStorage[1];
  _m2storage[2] = uStorage[1] * vStorage[0];
  _m2storage[3] = uStorage[1] * vStorage[1];
}