diff options
Diffstat (limited to 'source/gameengine/SceneGraph/SG_Spatial.cpp')
-rw-r--r-- | source/gameengine/SceneGraph/SG_Spatial.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/SceneGraph/SG_Spatial.cpp b/source/gameengine/SceneGraph/SG_Spatial.cpp index 6e9354721aa..b5b38fd3ba6 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.cpp +++ b/source/gameengine/SceneGraph/SG_Spatial.cpp @@ -94,7 +94,7 @@ SG_Spatial:: SG_Spatial:: SetParentRelation( SG_ParentRelation *relation -){ +) { delete (m_parent_relation); m_parent_relation = relation; SetModified(); @@ -113,7 +113,7 @@ UpdateSpatialData( const SG_Spatial *parent, double time, bool& parentUpdated - ){ + ) { bool bComputesWorldTransform = false; // update spatial controllers @@ -148,7 +148,7 @@ RelativeTranslate( const MT_Vector3& trans, const SG_Spatial *parent, bool local -){ +) { if (local) { m_localPosition += m_localRotation * trans; } else { @@ -177,7 +177,7 @@ SG_Spatial:: RelativeRotate( const MT_Matrix3x3& rot, bool local -){ +) { m_localRotation = m_localRotation * ( local ? rot |