Return *this after normalizing

This commit is contained in:
Eryn Wells 2013-09-11 22:07:34 -07:00
parent e76bf0f444
commit fcde85c642
2 changed files with 4 additions and 8 deletions

View file

@ -28,7 +28,7 @@ struct Vector3
float length() const;
float dot(Vector3 v) const;
void normalize();
Vector3 &normalize();
static const Vector3 Zero;
float x, y, z;