Add of some mathematical functions

Plane: Getters and classic planes
Sphere: Getter
Vector2: Angle between two vectors
Vector3: Same in 3D

Former-commit-id: 07e6421def813743e5fd8248fe2e9503cebbb8a8
This commit is contained in:
Gawaboumga
2014-06-27 19:33:28 +02:00
parent f84897e47a
commit ca595bca20
8 changed files with 82 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ class NzVector2
T AbsDotProduct(const NzVector2& vec) const;
T AngleBetween(const NzVector2& vec, bool toDegree = true) const;
T Distance(const NzVector2& vec) const;
float Distancef(const NzVector2& vec) const;