Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ShapeCast Class Reference
Inheritance diagram for ShapeCast:
Inheritance graph
[legend]

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 TestCreate ()
 

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
b2Bodym_bomb
 
bool m_bombSpawning
 
b2Vec2 m_bombSpawnPoint
 
DestructionListener m_destructionListener
 
b2Bodym_groundBody
 
b2Profile m_maxProfile
 
b2MouseJointm_mouseJoint
 
b2Vec2 m_mouseWorld
 
int32 m_pointCount
 
ContactPoint m_points [k_maxContactPoints]
 
int32 m_stepCount
 
int32 m_textIncrement
 
int32 m_textLine
 
b2Profile m_totalProfile
 
b2Worldm_world
 
b2AABB m_worldAABB
 

Detailed Description

Definition at line 26 of file shape_cast.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
e_vertexCount 

Definition at line 29 of file shape_cast.cpp.

Constructor & Destructor Documentation

◆ ShapeCast()

ShapeCast::ShapeCast ( )
inline

Definition at line 34 of file shape_cast.cpp.

Member Function Documentation

◆ Create()

static Test* ShapeCast::Create ( )
inlinestatic

Definition at line 88 of file shape_cast.cpp.

◆ Step()

void ShapeCast::Step ( Settings settings)
inlineoverridevirtual

Reimplemented from Test.

Definition at line 93 of file shape_cast.cpp.

Member Data Documentation

◆ m_countA

int32 ShapeCast::m_countA

Definition at line 181 of file shape_cast.cpp.

◆ m_countB

int32 ShapeCast::m_countB

Definition at line 185 of file shape_cast.cpp.

◆ m_radiusA

float ShapeCast::m_radiusA

Definition at line 182 of file shape_cast.cpp.

◆ m_radiusB

float ShapeCast::m_radiusB

Definition at line 186 of file shape_cast.cpp.

◆ m_transformA

b2Transform ShapeCast::m_transformA

Definition at line 188 of file shape_cast.cpp.

◆ m_transformB

b2Transform ShapeCast::m_transformB

Definition at line 189 of file shape_cast.cpp.

◆ m_translationB

b2Vec2 ShapeCast::m_translationB

Definition at line 190 of file shape_cast.cpp.

◆ m_vAs

b2Vec2 ShapeCast::m_vAs[b2_maxPolygonVertices]

Definition at line 180 of file shape_cast.cpp.

◆ m_vBs

b2Vec2 ShapeCast::m_vBs[b2_maxPolygonVertices]

Definition at line 184 of file shape_cast.cpp.


The documentation for this class was generated from the following file:


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23