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_MotionState.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_MotionState.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_MotionState.cpp b/source/gameengine/Ketsji/KX_MotionState.cpp
index 4728f71a6ea..38c10c1ed83 100644
--- a/source/gameengine/Ketsji/KX_MotionState.cpp
+++ b/source/gameengine/Ketsji/KX_MotionState.cpp
@@ -65,18 +65,18 @@ void KX_MotionState::GetWorldOrientation(float& quatIma0,float& quatIma1,float&
quatIma2 = orn[2];
quatReal = orn[3];
}
-
+
void KX_MotionState::GetWorldOrientation(float* ori)
{
const MT_Matrix3x3& mat = m_node->GetWorldOrientation();
mat.getValue(ori);
}
-
+
void KX_MotionState::SetWorldOrientation(const float* ori)
{
m_node->SetLocalOrientation(ori);
}
-
+
void KX_MotionState::SetWorldPosition(float posX,float posY,float posZ)
{
m_node->SetLocalPosition(MT_Point3(posX,posY,posZ));
@@ -103,4 +103,4 @@ void KX_MotionState::CalculateWorldTransformations()
//m_node->ComputeWorldTransforms(NULL, parentUpdated);
}
-
+