Browse Source

Add a note about an issue

raysan5 9 years ago
parent
commit
9cbfcbb820
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/shapes.c

+ 1 - 0
src/shapes.c

@@ -412,6 +412,7 @@ bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec)
 }
 }
 
 
 // Get collision rectangle for two rectangles collision
 // Get collision rectangle for two rectangles collision
+// TODO: Depending on rec1 and rec2 order, it fails -> Review!
 Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2)
 Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2)
 {
 {
     Rectangle retRec = { 0, 0, 0, 0 };
     Rectangle retRec = { 0, 0, 0, 0 };