20 #ifndef B2_WORLD_CALLBACKS_H
21 #define B2_WORLD_CALLBACKS_H
32 struct b2ContactResult;
67 B2_NOT_USED(particleSystem);
91 B2_NOT_USED(particleIndex);
92 B2_NOT_USED(particleSystem);
100 int32 particleIndexA, int32 particleIndexB)
102 B2_NOT_USED(particleSystem);
103 B2_NOT_USED(particleIndexA);
104 B2_NOT_USED(particleIndexB);
144 B2_NOT_USED(particleSystem);
145 B2_NOT_USED(particleBodyContact);
153 B2_NOT_USED(fixture);
154 B2_NOT_USED(particleSystem);
163 B2_NOT_USED(particleSystem);
164 B2_NOT_USED(particleContact);
170 int32 indexA, int32 indexB)
172 B2_NOT_USED(particleSystem);
189 B2_NOT_USED(contact);
190 B2_NOT_USED(oldManifold);
201 B2_NOT_USED(contact);
202 B2_NOT_USED(impulse);
222 B2_NOT_USED(particleSystem);
234 B2_NOT_USED(particleSystem);
258 const b2Vec2& normal, float32 fraction) = 0;
276 int32 index,
const b2Vec2& point,
277 const b2Vec2& normal, float32 fraction)
279 B2_NOT_USED(particleSystem);
282 B2_NOT_USED(&normal);
283 B2_NOT_USED(fraction);
294 B2_NOT_USED(particleSystem);
Definition: b2WorldCallbacks.h:41
virtual float32 ReportParticle(const b2ParticleSystem *particleSystem, int32 index, const b2Vec2 &point, const b2Vec2 &normal, float32 fraction)
Definition: b2WorldCallbacks.h:275
virtual void SayGoodbye(b2ParticleGroup *group)
Called when any particle group is about to be destroyed.
Definition: b2WorldCallbacks.h:55
Definition: b2WorldCallbacks.h:241
virtual void SayGoodbye(b2Joint *joint)=0
Definition: b2ParticleSystem.h:281
Definition: b2Joint.h:103
virtual bool ShouldQueryParticleSystem(const b2ParticleSystem *particleSystem)
Definition: b2WorldCallbacks.h:231
virtual bool ReportFixture(b2Fixture *fixture)=0
A group of particles. b2ParticleGroup::CreateParticleGroup creates these.
Definition: b2ParticleGroup.h:172
virtual bool ReportParticle(const b2ParticleSystem *particleSystem, int32 index)
Definition: b2WorldCallbacks.h:219
Definition: b2ParticleSystem.h:99
A rigid body. These are created via b2World::CreateBody.
Definition: b2Body.h:132
Definition: b2Collision.h:93
virtual float32 ReportFixture(b2Fixture *fixture, const b2Vec2 &point, const b2Vec2 &normal, float32 fraction)=0
virtual void SayGoodbye(b2ParticleSystem *particleSystem, int32 index)
Definition: b2WorldCallbacks.h:65
Definition: b2ParticleSystem.h:53
A 2D column vector.
Definition: b2Math.h:56
virtual bool ShouldQueryParticleSystem(const b2ParticleSystem *particleSystem)
Definition: b2WorldCallbacks.h:291
#define b2_maxManifoldPoints
Definition: b2Settings.h:93
Definition: b2WorldCallbacks.h:208
Definition: b2Fixture.h:108