C# Class Project290.Physics.DebugView

Mostrar archivo Open project: scastle/Solitude

Public Methods

Method Description
AppendFlags ( DebugViewFlags flags ) : void

Append flags to the current flags.

DrawCircle ( Vector2 center, float radius, float red, float blue, float green ) : void

Draw a circle.

DrawPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void

Draw a closed polygon provided in CCW order.

DrawSegment ( Vector2 start, Vector2 end, float red, float blue, float green ) : void

Draw a line segment.

DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, float red, float blue, float green ) : void

Draw a solid circle.

DrawSolidPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void

Draw a solid closed polygon provided in CCW order.

DrawTransform ( Transform &transform ) : void

Draw a transform. Choose your own length scale.

RemoveFlags ( DebugViewFlags flags ) : void

Remove flags from the current flags.

Protected Methods

Method Description
DebugView ( World world ) : System

Method Details

AppendFlags() public method

Append flags to the current flags.
public AppendFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
return void

DebugView() protected method

protected DebugView ( World world ) : System
world Project290.Physics.Dynamics.World
return System

DrawCircle() public abstract method

Draw a circle.
public abstract DrawCircle ( Vector2 center, float radius, float red, float blue, float green ) : void
center Vector2 The center.
radius float The radius.
red float The red value.
blue float The blue value.
green float The green value.
return void

DrawPolygon() public abstract method

Draw a closed polygon provided in CCW order.
public abstract DrawPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void
vertices Vector2 The vertices.
count int The vertex count.
red float The red value.
blue float The blue value.
green float The green value.
return void

DrawSegment() public abstract method

Draw a line segment.
public abstract DrawSegment ( Vector2 start, Vector2 end, float red, float blue, float green ) : void
start Vector2 The start.
end Vector2 The end.
red float The red value.
blue float The blue value.
green float The green value.
return void

DrawSolidCircle() public abstract method

Draw a solid circle.
public abstract DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, float red, float blue, float green ) : void
center Vector2 The center.
radius float The radius.
axis Vector2 The axis.
red float The red value.
blue float The blue value.
green float The green value.
return void

DrawSolidPolygon() public abstract method

Draw a solid closed polygon provided in CCW order.
public abstract DrawSolidPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void
vertices Vector2 The vertices.
count int The vertex count.
red float The red value.
blue float The blue value.
green float The green value.
return void

DrawTransform() public abstract method

Draw a transform. Choose your own length scale.
public abstract DrawTransform ( Transform &transform ) : void
transform Transform The transform.
return void

RemoveFlags() public method

Remove flags from the current flags.
public RemoveFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
return void