#include <Physics.hpp>
|
| static Polygon | CreateBox (const Vec2 halfSize, const Vec2 offset, const Rot rotation=Rot{ 1, 0 }, const float radius=0.0f) |
| static Polygon | CreateBox (const Vec2 halfSize) |
| static Polygon | CreateBox (const Vec2 halfSize, const float radius) |
| static Polygon | CreatePolygon (const ConvexHull &hull, const float radius=0.0f) |
| static Polygon | CreatePolygon (const ConvexHull &hull, const Vec2 offset, const Rot rotation=Rot{ 1, 0 }, const float radius=0.0f) |
Definition at line 223 of file Physics/Physics.hpp.
◆ Polygon() [1/2]
| Cori::Physics::Polygon::Polygon |
( |
| ) |
|
|
default |
◆ Polygon() [2/2]
| Cori::Physics::Polygon::Polygon |
( |
const b2Polygon & | polygon | ) |
|
|
inline |
◆ CreateBox() [1/3]
| Polygon Cori::Physics::Polygon::CreateBox |
( |
const Vec2 | halfSize | ) |
|
|
inlinestaticnodiscard |
◆ CreateBox() [2/3]
| Polygon Cori::Physics::Polygon::CreateBox |
( |
const Vec2 | halfSize, |
|
|
const float | radius ) |
|
inlinestaticnodiscard |
◆ CreateBox() [3/3]
| Polygon Cori::Physics::Polygon::CreateBox |
( |
const Vec2 | halfSize, |
|
|
const Vec2 | offset, |
|
|
const Rot | rotation = Rot{ 1, 0 }, |
|
|
const float | radius = 0.0f ) |
|
inlinestaticnodiscard |
◆ CreatePolygon() [1/2]
| Polygon Cori::Physics::Polygon::CreatePolygon |
( |
const ConvexHull & | hull, |
|
|
const float | radius = 0.0f ) |
|
inlinestaticnodiscard |
◆ CreatePolygon() [2/2]
| Polygon Cori::Physics::Polygon::CreatePolygon |
( |
const ConvexHull & | hull, |
|
|
const Vec2 | offset, |
|
|
const Rot | rotation = Rot{ 1, 0 }, |
|
|
const float | radius = 0.0f ) |
|
inlinestaticnodiscard |
The documentation for this class was generated from the following file: