diff options
Diffstat (limited to 'intern/moto/include')
-rw-r--r-- | intern/moto/include/MT_Point2.h | 6 | ||||
-rw-r--r-- | intern/moto/include/MT_Vector2.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/intern/moto/include/MT_Point2.h b/intern/moto/include/MT_Point2.h index c6995f1ab0b..cc6819039fc 100644 --- a/intern/moto/include/MT_Point2.h +++ b/intern/moto/include/MT_Point2.h @@ -51,9 +51,9 @@ class MT_Point2 : public MT_Vector2 { public: MT_Point2() {} - MT_Point2(const float *v) : MT_Vector2(v) {} - MT_Point2(const double *v) : MT_Vector2(v) {} - MT_Point2(MT_Scalar x, MT_Scalar y) : MT_Vector2(x, y) {} + MT_Point2(const float *v2) : MT_Vector2(v2) {} + MT_Point2(const double *v2) : MT_Vector2(v2) {} + MT_Point2(MT_Scalar x2, MT_Scalar y2) : MT_Vector2(x2, y2) {} MT_Point2& operator+=(const MT_Vector2& v); MT_Point2& operator-=(const MT_Vector2& v); diff --git a/intern/moto/include/MT_Vector2.h b/intern/moto/include/MT_Vector2.h index 35748ce2b0d..629d962a781 100644 --- a/intern/moto/include/MT_Vector2.h +++ b/intern/moto/include/MT_Vector2.h @@ -52,8 +52,8 @@ class MT_Vector2 : public MT_Tuple2 { public: MT_Vector2() {} - MT_Vector2(const float *v) : MT_Tuple2(v) {} - MT_Vector2(const double *v) : MT_Tuple2(v) {} + MT_Vector2(const float *v2) : MT_Tuple2(v2) {} + MT_Vector2(const double *v2) : MT_Tuple2(v2) {} MT_Vector2(MT_Scalar xx, MT_Scalar yy) : MT_Tuple2(xx, yy) {} MT_Vector2& operator+=(const MT_Vector2& v); |