Intersection/collision of two rectangles in SDL2

前端 未结 0 1891
野性不改
野性不改 2020-12-07 01:48

There is the obvious SDL_IntersectRect(rect1, rect2, result), but this isn\'t working as intended. If I have a rect i want to check if another rect collides wit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题