|
@@ -142,9 +142,9 @@ public:
|
|
|
void RemoveJoint(Joint* joint);
|
|
void RemoveJoint(Joint* joint);
|
|
|
/// Add debug geometry to the debug renderer.
|
|
/// Add debug geometry to the debug renderer.
|
|
|
void DrawDebugGeometry(bool depthTest);
|
|
void DrawDebugGeometry(bool depthTest);
|
|
|
- /// Set debug renderer to use.
|
|
|
|
|
|
|
+ /// Set debug renderer to use. Called both by PhysicsWorld itself and physics components.
|
|
|
void SetDebugRenderer(DebugRenderer* debug);
|
|
void SetDebugRenderer(DebugRenderer* debug);
|
|
|
- /// Set debug geometry depth test mode.
|
|
|
|
|
|
|
+ /// Set debug geometry depth test mode. Called both by PhysicsWorld itself and physics components.
|
|
|
void SetDebugDepthTest(bool enable);
|
|
void SetDebugDepthTest(bool enable);
|
|
|
|
|
|
|
|
/// Return the Bullet physics world.
|
|
/// Return the Bullet physics world.
|
|
@@ -202,7 +202,7 @@ private:
|
|
|
float maxNetworkAngularVelocity_;
|
|
float maxNetworkAngularVelocity_;
|
|
|
/// Interpolation flag.
|
|
/// Interpolation flag.
|
|
|
bool interpolation_;
|
|
bool interpolation_;
|
|
|
- /// Debug renderer to use.
|
|
|
|
|
|
|
+ /// Debug renderer.
|
|
|
DebugRenderer* debugRenderer_;
|
|
DebugRenderer* debugRenderer_;
|
|
|
/// Debug draw flags.
|
|
/// Debug draw flags.
|
|
|
int debugMode_;
|
|
int debugMode_;
|