mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 03:39:20 +01:00
Collision reworked into a Collision Namespace
Added basic player (Needs work)
This commit is contained in:
@@ -20,16 +20,19 @@ struct Point2f
|
||||
|
||||
//operator
|
||||
Point2f operator+( const Point2f& other ) const;
|
||||
Point2f operator+=( const Point2f& other ) const;
|
||||
Point2f operator*( float other ) const;
|
||||
Point2f operator*( const Point2f& other ) const;
|
||||
Point2f operator*( int other ) const;
|
||||
Point2f operator*( const Point2f& other ) const;
|
||||
Point2f operator/( float other ) const;
|
||||
|
||||
Point2f operator-( const Point2f& other ) const;
|
||||
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
|
||||
Point2f operator/(float right, const Point2f& left);
|
||||
Point2f operator*(float right, const Point2f& left);
|
||||
|
||||
struct Rectf
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user