
Public Types | |
| enum | { e_vertexCount = 8 } |
Public Member Functions | |
| ShapeCast () | |
| void | Step (Settings &settings) override |
Public Member Functions inherited from Test | |
| virtual void | BeginContact (b2Contact *contact) override |
| Called when two fixtures begin to touch. More... | |
| void | CompleteBombSpawn (const b2Vec2 &p) |
| void | DrawTitle (const char *string) |
| virtual void | EndContact (b2Contact *contact) override |
| Called when two fixtures cease to touch. More... | |
| virtual void | JointDestroyed (b2Joint *joint) |
| virtual void | Keyboard (int key) |
| virtual void | KeyboardUp (int key) |
| void | LaunchBomb () |
| void | LaunchBomb (const b2Vec2 &position, const b2Vec2 &velocity) |
| virtual void | MouseDown (const b2Vec2 &p) |
| virtual void | MouseMove (const b2Vec2 &p) |
| virtual void | MouseUp (const b2Vec2 &p) |
| virtual void | PostSolve (b2Contact *contact, const b2ContactImpulse *impulse) override |
| virtual void | PreSolve (b2Contact *contact, const b2Manifold *oldManifold) override |
| void | ShiftMouseDown (const b2Vec2 &p) |
| void | ShiftOrigin (const b2Vec2 &newOrigin) |
| void | SpawnBomb (const b2Vec2 &worldPt) |
| Test () | |
| virtual void | UpdateUI () |
| virtual | ~Test () |
Public Member Functions inherited from b2ContactListener | |
| virtual | ~b2ContactListener () |
Static Public Member Functions | |
| static Test * | Create () |
Public Attributes | |
| int32 | m_countA |
| int32 | m_countB |
| float | m_radiusA |
| float | m_radiusB |
| b2Transform | m_transformA |
| b2Transform | m_transformB |
| b2Vec2 | m_translationB |
| b2Vec2 | m_vAs [b2_maxPolygonVertices] |
| b2Vec2 | m_vBs [b2_maxPolygonVertices] |
Additional Inherited Members | |
Protected Attributes inherited from Test | |
| b2Body * | m_bomb |
| bool | m_bombSpawning |
| b2Vec2 | m_bombSpawnPoint |
| DestructionListener | m_destructionListener |
| b2Body * | m_groundBody |
| b2Profile | m_maxProfile |
| b2MouseJoint * | m_mouseJoint |
| b2Vec2 | m_mouseWorld |
| int32 | m_pointCount |
| ContactPoint | m_points [k_maxContactPoints] |
| int32 | m_stepCount |
| int32 | m_textIncrement |
| int32 | m_textLine |
| b2Profile | m_totalProfile |
| b2World * | m_world |
| b2AABB | m_worldAABB |
Definition at line 26 of file shape_cast.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| e_vertexCount | |
Definition at line 29 of file shape_cast.cpp.
|
inline |
Definition at line 34 of file shape_cast.cpp.
|
inlinestatic |
Definition at line 88 of file shape_cast.cpp.
Reimplemented from Test.
Definition at line 93 of file shape_cast.cpp.
| int32 ShapeCast::m_countA |
Definition at line 181 of file shape_cast.cpp.
| int32 ShapeCast::m_countB |
Definition at line 185 of file shape_cast.cpp.
| float ShapeCast::m_radiusA |
Definition at line 182 of file shape_cast.cpp.
| float ShapeCast::m_radiusB |
Definition at line 186 of file shape_cast.cpp.
| b2Transform ShapeCast::m_transformA |
Definition at line 188 of file shape_cast.cpp.
| b2Transform ShapeCast::m_transformB |
Definition at line 189 of file shape_cast.cpp.
| b2Vec2 ShapeCast::m_translationB |
Definition at line 190 of file shape_cast.cpp.
| b2Vec2 ShapeCast::m_vAs[b2_maxPolygonVertices] |
Definition at line 180 of file shape_cast.cpp.
| b2Vec2 ShapeCast::m_vBs[b2_maxPolygonVertices] |
Definition at line 184 of file shape_cast.cpp.