CodePudding user response:
There are two kinds of 2 d collision detection, rectangle and polygon, the specific implementation is not difficult, you can go to online search a book "game programming master" there is a detailed introduction3 d collision detection, can go directly to the Microsoft website to download, directx SDK with examples and is equipped with the source code
CodePudding user response:
DirectX all fix it for you, don't want to use the DX can SDL library