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:
Diffstat (limited to 'intern/moto/include/MT_Tuple2.h')
-rwxr-xr-xintern/moto/include/MT_Tuple2.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/intern/moto/include/MT_Tuple2.h b/intern/moto/include/MT_Tuple2.h
index 8229511020d..696421fdc77 100755
--- a/intern/moto/include/MT_Tuple2.h
+++ b/intern/moto/include/MT_Tuple2.h
@@ -56,9 +56,9 @@
class MT_Tuple2 {
public:
MT_Tuple2() {}
- MT_Tuple2(const float *v) { setValue(v); }
- MT_Tuple2(const double *v) { setValue(v); }
- MT_Tuple2(MT_Scalar x, MT_Scalar y) { setValue(x, y); }
+ MT_Tuple2(const float *vv) { setValue(vv); }
+ MT_Tuple2(const double *vv) { setValue(vv); }
+ MT_Tuple2(MT_Scalar xx, MT_Scalar yy) { setValue(xx, yy); }
MT_Scalar& operator[](int i) { return m_co[i]; }
const MT_Scalar& operator[](int i) const { return m_co[i]; }
@@ -78,24 +78,24 @@ public:
MT_Scalar *getValue() { return m_co; }
const MT_Scalar *getValue() const { return m_co; }
- void getValue(float *v) const {
- v[0] = m_co[0]; v[1] = m_co[1];
+ void getValue(float *vv) const {
+ vv[0] = m_co[0]; vv[1] = m_co[1];
}
- void getValue(double *v) const {
- v[0] = m_co[0]; v[1] = m_co[1];
+ void getValue(double *vv) const {
+ vv[0] = m_co[0]; vv[1] = m_co[1];
}
- void setValue(const float *v) {
- m_co[0] = v[0]; m_co[1] = v[1];
+ void setValue(const float *vv) {
+ m_co[0] = vv[0]; m_co[1] = vv[1];
}
- void setValue(const double *v) {
- m_co[0] = v[0]; m_co[1] = v[1];
+ void setValue(const double *vv) {
+ m_co[0] = vv[0]; m_co[1] = vv[1];
}
- void setValue(MT_Scalar x, MT_Scalar y) {
- m_co[0] = x; m_co[1] = y;
+ void setValue(MT_Scalar xx, MT_Scalar yy) {
+ m_co[0] = xx; m_co[1] = yy;
}
protected: