SFMLDebugDraw
Inherits CP::Space::DebugDraw / Reference / Object
Constructors
new(target : SF::RenderTarget, states : SF::RenderStates = SF::RenderStates::Default)
SourceInstance methods
draw_circle(pos : CP::Vect, angle : Float64, radius : Float64, outline_color : Color, fill_color : Color)
Draw a filled, stroked circle.
draw_fat_segment(a : CP::Vect, b : CP::Vect, radius : Float64, outline_color : Color, fill_color : Color)
Draw a thick line segment.
Draw a convex polygon.
states
Sourcestates=(states : SF::RenderStates)
Sourceupdate
Source