[AI] 3D vector class, providing vector and cross-product operations in 3D space.
virtual void EqualsCrossImpl(const float *p_a, const float *p_b)
[AI] Assigns this vector to the cross product of p_a and p_b.
void EqualsImpl(const float *p_data) override
[AI] Assigns values from provided array to this vector.
float DotImpl(const float *p_a, const float *p_b) const override
void Clear() override
[AI] Sets every coordinate (x, y, z) to zero.
virtual void Fill(const float &p_value)
[AI] Fills all coordinates with p_value.
void DivImpl(const float &p_value) override
[AI] Divides this vector by a scalar value.
void MulImpl(const float *p_value) override
[AI] Multiplies this vector by another vector (per element).
void SubImpl(const float *p_value) override
[AI] Subtracts the vector specified by p_value from this vector.
float LenSquared() const override
[AI] Computes the squared magnitude (x^2 + y^2 + z^2) of this vector.
void AddImpl(const float *p_value) override
[AI] Adds the values pointed to by p_value to this vector.
virtual void EqualsCross(const Vector3 &p_a, const Vector3 &p_b)
[AI] Sets this vector to be the cross product of p_a and p_b.