diff --git a/MathLib/Vector3.h b/MathLib/Vector3.h index 1e90b44333a1405cc86e7a081106d47a88daaaa6..270200b5ea54fa61fbb7ccc652a6c4fa4341ed60 100644 --- a/MathLib/Vector3.h +++ b/MathLib/Vector3.h @@ -118,7 +118,7 @@ public: /// Returns a normalized version of this vector TemplateVector3<double> normalizeVector() const { - TemplateVector3<double> norm_vec (_x[0], _x[1], _x[2]); + TemplateVector3<double> norm_vec (this->_x[0], this->_x[1], this->_x[2]); norm_vec.normalize(); return norm_vec; }