Game Develop C++ Platform: PolygonCollision.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
PolygonCollision.h
Go to the documentation of this file.
1
5 #ifndef POLYGONCOLLISION_H
6 #define POLYGONCOLLISION_H
7 #include <SFML/System.hpp>
8 class Polygon2d;
9
15 struct CollisionResult
16 {
17 bool collision;
18 sf::Vector2f move_axis;
19 };
20
33 CollisionResult PolygonCollisionTest(Polygon2d & p1, Polygon2d & p2);
34
35 #endif // POLYGONCOLLISION_H
36