浏览代码

Add a note about an issue

pull/83/head
raysan5 9 年前
父节点
当前提交
9cbfcbb820
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 };

正在加载...
取消
保存