mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-17 07:11:48 +01:00
Basic screen system
This commit is contained in:
@@ -65,6 +65,7 @@ Rectf::Rectf(float left, float bottom, float width, float height)
|
||||
, width { width }
|
||||
, height { height } {
|
||||
}
|
||||
Rectf::Rectf(Point2f pos, Point2f size): left(pos.x), bottom(pos.y), width(size.x), height(size.y) {}
|
||||
// Rectf::Rectf(int left, int bottom, int width, int height) : left { (float)left }, bottom { (float)bottom }, width { (float)width }, height { (float)height } {
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user