1
0
forked from josh/j3ml

Implement V3::Direction

This commit is contained in:
2024-01-15 15:20:32 -05:00
parent 03f0193df7
commit fd2289cee3
3 changed files with 12 additions and 1 deletions

View File

@@ -37,6 +37,11 @@ public:
b = b.Normalize();
}
//Returns the DirectionVector for a given angle.
Vector3 Direction(const Vector3 &rhs) const;
static void Orthonormalize(Vector3& a, Vector3& b, Vector3& c)
{
a = a.Normalize();