Isle
Loading...
Searching...
No Matches
vector3d.inl.h
Go to the documentation of this file.
1#ifndef VECTOR3D_H
2#define VECTOR3D_H
3
4#include "vector2d.inl.h"
5
9void Vector3::EqualsCrossImpl(const float* p_a, const float* p_b);
10
14void Vector3::EqualsCross(const Vector3& p_a, const Vector3& p_b);
15
19void Vector3::EqualsCross(const Vector3& p_a, const float* p_b);
20
24void Vector3::EqualsCross(const float* p_a, const Vector3& p_b);
25
28void Vector3::AddImpl(const float* p_value);
29
32void Vector3::AddImpl(float p_value);
33
36void Vector3::SubImpl(const float* p_value);
37
40void Vector3::MulImpl(const float* p_value);
41
44void Vector3::MulImpl(const float& p_value);
45
48void Vector3::DivImpl(const float& p_value);
49
54float Vector3::DotImpl(const float* p_a, const float* p_b) const;
55
58void Vector3::EqualsImpl(const float* p_data);
59
61void Vector3::Clear();
62
65float Vector3::LenSquared() const;
66
69void Vector3::Fill(const float& p_value);
70
71#endif // VECTOR3D_H
[AI] 3D vector class, providing vector and cross-product operations in 3D space.
Definition: vector.h:249
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.