mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 20:41:47 +01:00
Added the Grid, Camera, Level system
Basic player Started (Barely) on the TextureManager And other fixes
This commit is contained in:
@@ -9,6 +9,8 @@ namespace utils
|
||||
#pragma region OpenGLDrawFunctionality
|
||||
|
||||
void SetColor( const Color4f& color );
|
||||
|
||||
void ClearBackground( const Color4f& color );
|
||||
|
||||
void DrawPoint( float x, float y, float pointSize = 1.0f );
|
||||
void DrawPoint( const Point2f& p, float pointSize = 1.0f );
|
||||
@@ -81,6 +83,7 @@ namespace utils
|
||||
bool IsPointOnLineSegment(const Point2f& p, const Point2f& a, const Point2f& b);
|
||||
bool IntersectRectLine(const Rectf& r, const Point2f& p1, const Point2f& p2, float& intersectMin, float& intersectMax);
|
||||
|
||||
int randRange(int min, int max);
|
||||
#pragma endregion CollisionFunctionality
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user