Removed extra qualification on vector member funcs

This commit is contained in:
Jordan Cristiano 2015-05-15 17:34:52 -04:00
parent 0a228bb722
commit 55e47871ea

View File

@ -40,12 +40,12 @@ public:
y = _y;
z = _z;
}
float& Vector::operator[](int i)
float& operator[](int i)
{
assert( (i >= 0) && (i < 3) );
return ((float*)this)[i];
}
float Vector::operator[](int i) const
float operator[](int i) const
{
assert( (i >= 0) && (i < 3) );
return ((float*)this)[i];