Add X, Y, and Z unit vectors

This commit is contained in:
Eryn Wells 2013-09-16 16:32:41 -07:00
parent 99f98d2bf5
commit fb6920e923
2 changed files with 6 additions and 0 deletions

View file

@ -38,6 +38,9 @@ struct Vector3
Vector3 &normalize();
static const Vector3 Zero;
// Unit vectors in each of the three cartesian directions.
static const Vector3 X, Y, Z;
float x, y, z;
};