| 28 | IC pVector(float ax, float ay, float az) { set(ax, ay, az); } |
| 29 | pVector() = default; |
| 30 | IC float length() const { return _sqrt(x * x + y * y + z * z); } |
| 31 | IC float length2() const { return (x * x + y * y + z * z); } |
| 32 | IC float operator*(const pVector& a) const { return x * a.x + y * a.y + z * a.z; } |
| 33 | IC pVector operator*(const float s) const { return pVector(x * s, y * s, z * s); } |
no test coverage detected