HomeSort by relevance Sort by last modified time
    Searched defs:fixtures (Results 1 - 6 of 6) sorted by null

  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
Body.java 40 /** Fixtures of this body **/
41 private Array<Fixture> fixtures = new Array<Fixture>(2); field in class:Body
61 for (int i = 0; i < fixtures.size; i++)
62 this.world.freeFixtures.free(fixtures.get(i));
63 fixtures.clear();
77 this.world.fixtures.put(fixture.addr, fixture);
78 this.fixtures.add(fixture);
110 this.world.fixtures.put(fixture.addr, fixture);
111 this.fixtures.add(fixture);
123 * fixtures attached to a body are implicitly destroyed when the body is destroyed
    [all...]
World.java 123 /// Called when two fixtures begin to touch.
130 /// Called when two fixtures cease to touch.
198 /** pool for fixtures **/
212 /** all known fixtures **/
213 protected final LongMap<Fixture> fixtures = new LongMap<Fixture>(100); field in class:World
329 this.fixtures.remove(fixtureToDelete.addr).setUserData(null);
757 /** Get the number of fixtures. */
759 return fixtures.size;
840 /** Query the world for all fixtures that potentially overlap the provided AABB.
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
AbstractCollectionTest.java 57 final Collection<String> fixtures = Arrays.asList("0", "1", "2"); local
62 assertTrue(fixtures.contains(object));
79 assertTrue(ac.addAll(fixtures));
86 final Collection<String> fixtures = Arrays.asList("0", "1", "2"); local
91 assertTrue(fixtures.contains(object));
108 assertTrue(ac.containsAll(fixtures));
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
Body.java 32 final Array<Fixture> fixtures = new Array<Fixture>(); field in class:Body
235 /** Set the mass properties to override the mass properties of the fixtures. Note that this changes the center of mass position.
236 * Note that creating or destroying fixtures can also alter the mass. This function has no effect if the body isn't dynamic.
245 /** This resets the mass properties to the sum of the mass properties of the fixtures. This normally does not need to be called
388 * flag of true, all fixtures will be added to the broad-phase. If you pass a flag of false, all fixtures will be removed from
389 * the broad-phase and all contacts will be destroyed. Fixtures and joints are otherwise unaffected. You may continue to
390 * create/destroy fixtures and joints on inactive bodies. Fixtures on an inactive body are implicitly inactive and will not
421 fixtures.add(fixture)
    [all...]
World.java 54 ObjectMap<org.jbox2d.dynamics.Fixture, Fixture> fixtures = new ObjectMap<org.jbox2d.dynamics.Fixture, Fixture>(); field in class:World
76 return filter.shouldCollide(fixtures.get(fixtureA), fixtures.get(fixtureB));
163 for (Fixture fixture : body.fixtures) {
164 fixtures.remove(fixture.fixture);
271 /** Query the world for all fixtures that potentially overlap the provided AABB.
286 Fixture fixture = fixtures.get(f);
342 /** Ray-cast the world for all fixtures in the path of the ray. The ray-cast ignores shapes that contain the starting point.
360 return callback.reportRayFixture(fixtures.get(f), point.set(p.x, p.y), normal.set(n.x, n.y), fraction);
Box2DDebugRenderer.java 131 Array<Fixture> fixtures = body.getFixtureList(); local
133 Fixture fixture = fixtures.get(i);

Completed in 5440 milliseconds