public void Normalize() { double InvLength = 1.0 / Length(); x *= InvLength; y *= InvLength; z *= InvLength; }