cross method

Vector3 cross (Vector3 other)

Cross product.

Implementation

Vector3 cross(Vector3 other) {
  final double _x = _v3storage[0];
  final double _y = _v3storage[1];
  final double _z = _v3storage[2];
  final Float64List otherStorage = other._v3storage;
  final double ox = otherStorage[0];
  final double oy = otherStorage[1];
  final double oz = otherStorage[2];
  return new Vector3(_y * oz - _z * oy, _z * ox - _x * oz, _x * oy - _y * ox);
}