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 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index d516d3e03ff..d18e11d3ca5 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -79,7 +79,7 @@ typedef unsigned long uint_ptr;
#include "KX_SG_NodeRelationships.h"
-#include "BLI_arithb.h"
+#include "BLI_math.h"
static MT_Point3 dummy_point= MT_Point3(0.0, 0.0, 0.0);
static MT_Vector3 dummy_scaling = MT_Vector3(1.0, 1.0, 1.0);
@@ -474,9 +474,9 @@ void KX_GameObject::UpdateBlenderObjectMatrix(Object* blendobj)
const MT_Vector3& pos = NodeGetWorldPosition();
rot.getValue(blendobj->obmat[0]);
pos.getValue(blendobj->obmat[3]);
- VecMulf(blendobj->obmat[0], scale[0]);
- VecMulf(blendobj->obmat[1], scale[1]);
- VecMulf(blendobj->obmat[2], scale[2]);
+ mul_v3_fl(blendobj->obmat[0], scale[0]);
+ mul_v3_fl(blendobj->obmat[1], scale[1]);
+ mul_v3_fl(blendobj->obmat[2], scale[2]);
}
}