C# Class Protogame.PhysicsDebugDraw

Inheritance: IDebugDrawer
显示文件 Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
DrawLine ( Jitter.LinearMath.JVector start, Jitter.LinearMath.JVector end ) : void
DrawPoint ( Jitter.LinearMath.JVector pos ) : void
DrawTriangle ( Jitter.LinearMath.JVector pos1, Jitter.LinearMath.JVector pos2, Jitter.LinearMath.JVector pos3 ) : void
PhysicsDebugDraw ( IRenderContext renderContext, IDebugRenderer debugRenderer, bool isRigidBodyActive ) : Jitter

Method Details

DrawLine() public method

public DrawLine ( Jitter.LinearMath.JVector start, Jitter.LinearMath.JVector end ) : void
start Jitter.LinearMath.JVector
end Jitter.LinearMath.JVector
return void

DrawPoint() public method

public DrawPoint ( Jitter.LinearMath.JVector pos ) : void
pos Jitter.LinearMath.JVector
return void

DrawTriangle() public method

public DrawTriangle ( Jitter.LinearMath.JVector pos1, Jitter.LinearMath.JVector pos2, Jitter.LinearMath.JVector pos3 ) : void
pos1 Jitter.LinearMath.JVector
pos2 Jitter.LinearMath.JVector
pos3 Jitter.LinearMath.JVector
return void

PhysicsDebugDraw() public method

public PhysicsDebugDraw ( IRenderContext renderContext, IDebugRenderer debugRenderer, bool isRigidBodyActive ) : Jitter
renderContext IRenderContext
debugRenderer IDebugRenderer
isRigidBodyActive bool
return Jitter