class Engine::Polygon
Defined in:
engine/physics.cr
Constructors
Instance Method Summary
Constructor Detail
def self.
new(points : Array(
Vector2) | Nil =
nil)
#
Instance Method Detail
def
draw(pos, a, color =
Color::WHITE)
#
def
draw_textured(pos, a, tex :
Texture, color =
Color::WHITE, offset = v2(
0,
0), scale = v2(
1,
1))
#
Keyboard Shortcuts
× - s, / Search
- Esc Abort search / Close modal
- ⇨, Enter Open highlighted result
- ⇧, Ctrl+j Select previous result
- ⇩, Ctrl+k Select next result
- ? Show usage info