Implementing Vector3 Unit Tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <J3ML/LinearAlgebra/Vector3.h>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <J3ML/LinearAlgebra/Angle2D.h>
|
||||
|
||||
|
||||
namespace LinearAlgebra {
|
||||
@@ -95,8 +96,8 @@ public:
|
||||
static Vector3 Lerp(const Vector3& lhs, const Vector3& rhs, float alpha);
|
||||
|
||||
|
||||
float AngleBetween(const Vector3& rhs) const; // TODO: 3D Angle representation?
|
||||
static float AngleBetween(const Vector3& lhs, const Vector3& rhs); // TODO: 3D Angle representation?
|
||||
Angle2D AngleBetween(const Vector3& rhs) const;
|
||||
static Angle2D AngleBetween(const Vector3& lhs, const Vector3& rhs);
|
||||
|
||||
// Adds two vectors
|
||||
Vector3 operator+(const Vector3& rhs) const;
|
||||
|
Reference in New Issue
Block a user