|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
Structure representing a 2D physics body. More...
#include <shape_type_2d.h>
Public Types | |
| enum | Type : int8_t { Circle = 0 , Polygon = 1 } |
Static Public Member Functions | |
| static b2ShapeType | to_box2d_type (Type type) |
| Converts the custom ShapeType2D::Type to the corresponding Box2D shape type. | |
Structure representing a 2D physics body.
This struct encapsulates the Box2D body identifier along with its associated shapes.
| enum ShapeType2D::Type : int8_t |
|
inlinestatic |
Converts the custom ShapeType2D::Type to the corresponding Box2D shape type.