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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 18:01:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 18:03:10 +0300
commit4be752a93cf37700668c604296f37ea08248f13b (patch)
tree0f838c87eaa6bf289b76f232e6b1571a28a55cba /source/gameengine/Expressions/EXP_VectorValue.h
parent5513da65b24a3ce77b1709acea841475115f3a7a (diff)
Cleanup: trailing space in source/gameengine/
Diffstat (limited to 'source/gameengine/Expressions/EXP_VectorValue.h')
-rw-r--r--source/gameengine/Expressions/EXP_VectorValue.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/gameengine/Expressions/EXP_VectorValue.h b/source/gameengine/Expressions/EXP_VectorValue.h
index d87d5097156..8eda8f3ac6b 100644
--- a/source/gameengine/Expressions/EXP_VectorValue.h
+++ b/source/gameengine/Expressions/EXP_VectorValue.h
@@ -26,7 +26,7 @@
#define KX_Z 2
-class CVectorValue : public CPropValue
+class CVectorValue : public CPropValue
{
//PLUGIN_DECLARE_SERIAL(CVectorValue,CValue)
@@ -38,14 +38,14 @@ public:
virtual double* GetVector3(bool bGetTransformedVec=false);
virtual double GetNumber();
virtual int GetValueType();
-
+
CValue* Calc(VALUE_OPERATOR op, CValue *val) {
return val->CalcFinal(VALUE_VECTOR_TYPE, op, this);
}
-
+
CValue* CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val);
-
-
+
+
CVectorValue(double vec[3], const char *name,AllocationTYPE alloctype=CValue::HEAPVALUE);
CVectorValue() {};
@@ -54,7 +54,7 @@ public:
virtual ~CVectorValue();
//virtual bool ExportT3D(File *txtfile,bool bNoName=false);
void AddConfigurationData(CValue* menuvalue);
-
+
virtual CValue* GetReplica();
@@ -70,14 +70,14 @@ public:
void SnapPosition(const double snapvec[])
{
-
+
if (snapvec[KX_X] >= 1)
SnapPoint(m_vec[KX_X],snapvec[KX_X]);
if (snapvec[KX_Y] >= 1)
SnapPoint(m_vec[KX_Y],snapvec[KX_Y]);
if (snapvec[KX_Z] >= 1)
SnapPoint(m_vec[KX_Z],snapvec[KX_Z]);
-
+
}
#endif