Allow drawing 2D squares with 0 rotation angle.

This commit is contained in:
Daniel Buckmaster 2014-07-10 11:30:56 +02:00
parent 195e05dcfb
commit 9a05899d8e
2 changed files with 7 additions and 2 deletions

View file

@ -58,7 +58,7 @@ public:
void drawRectFill( const Point2I &upperLeft, const Point2I &lowerRight, const ColorI &color );
void drawRectFill( const RectI &rect, const ColorI &color );
void draw2DSquare( const Point2F &screenPoint, F32 width, F32 spinAngle );
void draw2DSquare( const Point2F &screenPoint, F32 width, F32 spinAngle = 0.0f );
//-----------------------------------------------------------------------------
// Draw Lines