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>2012-03-28 09:03:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-28 09:03:24 +0400
commit07065b27b8b37316004f40896f436d26e066f25f (patch)
tree19713fa864612e094f21a881e9816a8e1bf42b7b /source/gameengine/SceneGraph
parentc9f677d24d9600d9ba07f1b258c49455bc348554 (diff)
style cleanup
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r--source/gameengine/SceneGraph/SG_Controller.cpp2
-rw-r--r--source/gameengine/SceneGraph/SG_IObject.cpp2
-rw-r--r--source/gameengine/SceneGraph/SG_Node.cpp4
-rw-r--r--source/gameengine/SceneGraph/SG_Spatial.cpp8
4 files changed, 8 insertions, 8 deletions
diff --git a/source/gameengine/SceneGraph/SG_Controller.cpp b/source/gameengine/SceneGraph/SG_Controller.cpp
index 07c89dd7af4..264942415c9 100644
--- a/source/gameengine/SceneGraph/SG_Controller.cpp
+++ b/source/gameengine/SceneGraph/SG_Controller.cpp
@@ -41,6 +41,6 @@ SetObject(SG_IObject* obj)
void
SG_Controller::
ClearObject(
-){
+) {
m_pObject = NULL;
}
diff --git a/source/gameengine/SceneGraph/SG_IObject.cpp b/source/gameengine/SceneGraph/SG_IObject.cpp
index ae6208b4f4a..afd647c2a2a 100644
--- a/source/gameengine/SceneGraph/SG_IObject.cpp
+++ b/source/gameengine/SceneGraph/SG_IObject.cpp
@@ -66,7 +66,7 @@ SG_IObject(
SG_IObject::
AddSGController(
SG_Controller* cont
-){
+) {
m_SGcontrollers.push_back(cont);
}
diff --git a/source/gameengine/SceneGraph/SG_Node.cpp b/source/gameengine/SceneGraph/SG_Node.cpp
index 40f4e9b2b25..33af9f16d7c 100644
--- a/source/gameengine/SceneGraph/SG_Node.cpp
+++ b/source/gameengine/SceneGraph/SG_Node.cpp
@@ -78,7 +78,7 @@ SG_Node* SG_Node::GetSGReplica()
SG_Node::
ProcessSGReplica(
SG_Node** replica
-){
+) {
// Apply the replication call back function.
if (!ActivateReplicationCallback(*replica))
{
@@ -159,7 +159,7 @@ bool SG_Node::IsAncessor(const SG_Node* child) const
void
SG_Node::
DisconnectFromParent(
-){
+) {
if (m_SGparent)
{
m_SGparent->RemoveChild(this);
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