Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2005-03-25 19:31:05 +0300
committerKent Mein <mein@cs.umn.edu>2005-03-25 19:31:05 +0300
commit55af35d795bc1580998d72f464a493805f0ecbae (patch)
treeb7fd375667b86628fb302939190bd8104e2187c8 /intern/moto
parent589240926b54a22775cb4c37a2b672aa0338dc77 (diff)
I'll break this commit into two sections in the moto files
I got rid of a few warnings about blah shadows a previous declaration. In the gameengine files I fix the following: removed some unused vars removed dos style line breaks added newlines to last line in a couple of files to remove warnings. Kent
Diffstat (limited to 'intern/moto')
-rw-r--r--intern/moto/include/MT_Point2.h6
-rw-r--r--intern/moto/include/MT_Vector2.h4
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);