|
|
|
|
@ -15,7 +15,7 @@ void DrawRect(Vector2 rectStart, Vector2 *mousePosition){
|
|
|
|
|
|
|
|
|
|
rectStart = GetRectangle(rectStart);
|
|
|
|
|
|
|
|
|
|
DrawRectangleLines(rectStart.x, rectStart.y, width, height, GREEN);
|
|
|
|
|
DrawRectangleLines(rectStart.x, rectStart.y, abs(width), abs(height), GREEN);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Vector2 GetRectangle(Vector2 rectStart){
|
|
|
|
|
|