C# Class SharpNeat.DomainsExtra.Box2D.OpenGLDebugDraw

Box2DX debug drawing class that redirects drawing calls to Open GL.
Inheritance: Box2DX.Dynamics.DebugDraw
Afficher le fichier Open project: colgreen/sharpneat

Méthodes publiques

Méthode Description
DrawCircle ( Vec2 center, float radius, Color color ) : void

Draw a circle.

DrawPolygon ( Vec2 vertices, int vertexCount, Color color ) : void

Draw a closed polygon provided in CCW order.

DrawSegment ( Vec2 p1, Vec2 p2, Color color ) : void

Draw a line segment.

DrawSolidCircle ( Vec2 center, float radius, Vec2 axis, Color color ) : void

Draw a solid circle.

DrawSolidPolygon ( Vec2 vertices, int vertexCount, Color color ) : void

Draw a solid closed polygon provided in CCW order.

DrawXForm ( XForm xf ) : void

Draw a transform. Choose your own length scale.

Method Details

DrawCircle() public méthode

Draw a circle.
public DrawCircle ( Vec2 center, float radius, Color color ) : void
center Box2DX.Common.Vec2
radius float
color Box2DX.Dynamics.Color
Résultat void

DrawPolygon() public méthode

Draw a closed polygon provided in CCW order.
public DrawPolygon ( Vec2 vertices, int vertexCount, Color color ) : void
vertices Box2DX.Common.Vec2
vertexCount int
color Box2DX.Dynamics.Color
Résultat void

DrawSegment() public méthode

Draw a line segment.
public DrawSegment ( Vec2 p1, Vec2 p2, Color color ) : void
p1 Box2DX.Common.Vec2
p2 Box2DX.Common.Vec2
color Box2DX.Dynamics.Color
Résultat void

DrawSolidCircle() public méthode

Draw a solid circle.
public DrawSolidCircle ( Vec2 center, float radius, Vec2 axis, Color color ) : void
center Box2DX.Common.Vec2
radius float
axis Box2DX.Common.Vec2
color Box2DX.Dynamics.Color
Résultat void

DrawSolidPolygon() public méthode

Draw a solid closed polygon provided in CCW order.
public DrawSolidPolygon ( Vec2 vertices, int vertexCount, Color color ) : void
vertices Box2DX.Common.Vec2
vertexCount int
color Box2DX.Dynamics.Color
Résultat void

DrawXForm() public méthode

Draw a transform. Choose your own length scale.
public DrawXForm ( XForm xf ) : void
xf Box2DX.Common.XForm A transform.
Résultat void