![]() |
Calamity Engine 1.0.0
A cross-platform 2D game engine written in C++ and SDL3.
|
#include <definitions.hpp>
Public Member Functions | |
| CapsuleShape ()=default | |
| CapsuleShape (Vector2 center1, Vector2 center2, float radius, Vector2 origin) | |
| template<class Archive > | |
| void | save (Archive &ar) const |
| template<class Archive > | |
| void | load (Archive &ar) |
Public Member Functions inherited from Shape | |
| virtual | ~Shape ()=default |
| void | applyMaterial (const Material &material) |
| Shape * | setSensor (bool sensor) |
| template<class Archive > | |
| void | save (Archive &ar) const |
| template<class Archive > | |
| void | load (Archive &ar) |
Public Attributes | |
| Capsule | capsule |
| Capsule | scaledCapsule |
Public Attributes inherited from Shape | |
| b2ShapeDef | shapeDef |
| Vector2 | origin |
Additional Inherited Members | |
Protected Member Functions inherited from Shape | |
| void | postLoad () |
|
default |
|
inline |
|
inline |
| Capsule CapsuleShape::capsule |
| Capsule CapsuleShape::scaledCapsule |