From a199ae5368fa4a1de36f62dbb214a051b3fbe0c3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 31 Jul 2012 23:06:12 +0000 Subject: style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work). --- source/gameengine/Ketsji/KX_Scene.h | 14 ++++++------- .../gameengine/Physics/common/PHY_DynamicTypes.h | 24 +++++++++++----------- source/gameengine/Rasterizer/RAS_IRenderTools.h | 16 +++++++-------- 3 files changed, 27 insertions(+), 27 deletions(-) (limited to 'source/gameengine') diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h index 7e3378bd13f..f8480753395 100644 --- a/source/gameengine/Ketsji/KX_Scene.h +++ b/source/gameengine/Ketsji/KX_Scene.h @@ -309,8 +309,8 @@ public: RAS_BucketManager* GetBucketManager(); RAS_MaterialBucket* FindBucket(RAS_IPolyMaterial* polymat, bool &bucketCreated); void RenderBuckets(const MT_Transform& cameratransform, - RAS_IRasterizer* rasty, - RAS_IRenderTools* rendertools); + RAS_IRasterizer* rasty, + RAS_IRenderTools* rendertools); /** * Update all transforms according to the scenegraph. @@ -325,18 +325,18 @@ public: m_groupGameObjects.find(gameobj) != m_groupGameObjects.end()); } SCA_IObject* AddReplicaObject(CValue* gameobj, - CValue* locationobj, - int lifespan=0); + CValue* locationobj, + int lifespan=0); KX_GameObject* AddNodeReplicaObject(SG_IObject* node, - CValue* gameobj); + CValue* gameobj); void RemoveNodeDestructObject(SG_IObject* node, - CValue* gameobj); + CValue* gameobj); void RemoveObject(CValue* gameobj); void DelayedRemoveObject(CValue* gameobj); int NewRemoveObject(CValue* gameobj); void ReplaceMesh(CValue* gameobj, - void* meshob, bool use_gfx, bool use_phys); + void* meshob, bool use_gfx, bool use_phys); void AddAnimatedObject(CValue* gameobj); void RemoveAnimatedObject(CValue* gameobj); diff --git a/source/gameengine/Physics/common/PHY_DynamicTypes.h b/source/gameengine/Physics/common/PHY_DynamicTypes.h index a72929d25c5..69bbc7745e0 100644 --- a/source/gameengine/Physics/common/PHY_DynamicTypes.h +++ b/source/gameengine/Physics/common/PHY_DynamicTypes.h @@ -96,18 +96,18 @@ enum PHY_NUM_RESPONSE }; - typedef struct PHY_CollData { - PHY__Vector3 m_point1; /* Point in object1 in world coordinates */ - PHY__Vector3 m_point2; /* Point in object2 in world coordinates */ - PHY__Vector3 m_normal; /* point2 - point1 */ - } PHY_CollData; - - - typedef bool (*PHY_ResponseCallback)(void *client_data, - void *client_object1, - void *client_object2, - const PHY_CollData *coll_data); - typedef void (*PHY_CullingCallback)(KX_ClientObjectInfo* info, void* param); +typedef struct PHY_CollData { + PHY__Vector3 m_point1; /* Point in object1 in world coordinates */ + PHY__Vector3 m_point2; /* Point in object2 in world coordinates */ + PHY__Vector3 m_normal; /* point2 - point1 */ +} PHY_CollData; + + +typedef bool (*PHY_ResponseCallback)(void *client_data, + void *client_object1, + void *client_object2, + const PHY_CollData *coll_data); +typedef void (*PHY_CullingCallback)(KX_ClientObjectInfo* info, void* param); /// PHY_PhysicsType enumerates all possible Physics Entities. diff --git a/source/gameengine/Rasterizer/RAS_IRenderTools.h b/source/gameengine/Rasterizer/RAS_IRenderTools.h index 5d3efb8c38a..c02bc5e7a44 100644 --- a/source/gameengine/Rasterizer/RAS_IRenderTools.h +++ b/source/gameengine/Rasterizer/RAS_IRenderTools.h @@ -113,14 +113,14 @@ public: */ virtual void - RenderText3D(int fontid, - const char* text, - int size, - int dpi, - float* color, - double* mat, - float aspect - ) = 0; + RenderText3D(int fontid, + const char* text, + int size, + int dpi, + float* color, + double* mat, + float aspect + ) = 0; /** -- cgit v1.2.3