diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-28 09:03:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-28 09:03:24 +0400 |
commit | 07065b27b8b37316004f40896f436d26e066f25f (patch) | |
tree | 19713fa864612e094f21a881e9816a8e1bf42b7b /source/gameengine/SceneGraph/SG_Spatial.cpp | |
parent | c9f677d24d9600d9ba07f1b258c49455bc348554 (diff) |
style cleanup
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 |