mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 03:39:20 +01:00
Added a (temp) collision solver for Axis-Aligned rectangles
This commit is contained in:
@@ -36,6 +36,8 @@ struct Rectf
|
||||
Rectf( );
|
||||
explicit Rectf( float left, float bottom, float width, float height );
|
||||
//explicit Rectf( int left, int bottom, int width, int height ); //Stupid fix for it giving an error (same as Point2f)
|
||||
|
||||
Point2f BottomLeft() const { return Point2f{ left, bottom }; }
|
||||
|
||||
float left;
|
||||
float bottom;
|
||||
|
||||
Reference in New Issue
Block a user