aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-02-11 14:56:00 +0100
committerraysan5 <raysan5@gmail.com>2016-02-11 14:56:00 +0100
commit9cbfcbb8200252d846f447438a33cf47d32ffaf9 (patch)
treeb96ae708d06d942b77b12de6075f02775f58f72c
parentfca83c9ff8a808194cd74821640ed3f17a90010e (diff)
downloadraylib-9cbfcbb8200252d846f447438a33cf47d32ffaf9.tar.gz
raylib-9cbfcbb8200252d846f447438a33cf47d32ffaf9.zip
Add a note about an issue
-rw-r--r--src/shapes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shapes.c b/src/shapes.c
index 3b4be071..65e3621b 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -412,6 +412,7 @@ bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec)
}
// Get collision rectangle for two rectangles collision
+// TODO: Depending on rec1 and rec2 order, it fails -> Review!
Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2)
{
Rectangle retRec = { 0, 0, 0, 0 };