length2 property

double length2

Length squared.

Implementation

double get length2 {
  final double x = _qStorage[0];
  final double y = _qStorage[1];
  final double z = _qStorage[2];
  final double w = _qStorage[3];
  return (x * x) + (y * y) + (z * z) + (w * w);
}