Const versions of Vector4's X(), Y(), and Z()

This commit is contained in:
Eryn Wells 2014-08-09 09:01:52 -07:00
parent 584d0326a9
commit 9b6b6a20b7
2 changed files with 26 additions and 0 deletions

View file

@ -26,8 +26,11 @@ struct Vector4
Vector4(const Double& x, const Double& y, const Double& z);
Double& X();
const Double& X() const;
Double& Y();
const Double& Y() const;
Double& Z();
const Double& Z() const;
/** Get the length-squared of this vector. */
Double Length2() const;