Package org.jbox2d.callbacks

Examples of org.jbox2d.callbacks.QueryCallback


     */
    if (outOfBoundsRegions == null
        || (outOfBoundsBehavior != OutOfBoundsBehavior.NONE || outOfBoundsCallback != null))
      return;
    Collection<Body<?>> bodies = new LinkedList<Body<?>>();
    QueryCallback queryCallback = new BodyQueryCallbackHelper(bodies);
    for (AABB region : outOfBoundsRegions) {
      jboxWorld.queryAABB(queryCallback, region);
    }

    if (outOfBoundsCallback != null) {
View Full Code Here

TOP

Related Classes of org.jbox2d.callbacks.QueryCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.