AllegroFlare/Physics/AABB2D
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
x |
float |
y |
float |
w |
float |
h |
float |
velocity_x |
float |
velocity_y |
float |
Methods
get_left_edge() |
get_right_edge() |
get_top_edge() |
get_bottom_edge() |
set_left_edge(float x=0.0f) |
set_right_edge(float x=0.0f) |
set_top_edge(float y=0.0f) |
set_bottom_edge(float y=0.0f) |
collides(AllegroFlare::Physics::AABB2D* other=nullptr, AllegroFlare::Vec2D self_offset=AllegroFlare::Vec2D(), AllegroFlare::Vec2D other_offset=AllegroFlare::Vec2D()) |
Dependencies
{"symbol"=>"AllegroFlare::Physics::AABB2D", "headers"=>["AllegroFlare/Physics/AABB2D.hpp"]} |
{"symbol"=>"AllegroFlare::Vec2D", "headers"=>["AllegroFlare/Vec2D.hpp"]} |
Sponsor
Grab cute Cat stickers for your laptop at CLUBCATT