HomeSort by relevance Sort by last modified time
    Searched refs:boundingVolume (Results 1 - 3 of 3) sorted by null

  /external/replicaisland/src/com/replica/replicaisland/
GameObjectCollisionSystem.java 76 * @param boundingVolume A volume that describes the game object in space. It should encompass
84 CollisionVolume boundingVolume,
88 if (record != null && object != null && boundingVolume != null
91 record.boundingVolume = boundingVolume;
117 final float maxX = record.boundingVolume.getMaxXPosition(sFlip) + position.x;
126 if (otherPosition.x + other.boundingVolume.getMinXPosition(sOtherFlip) > maxX) {
134 if (testRequired && record.boundingVolume.intersects(position, sFlip,
135 other.boundingVolume, otherPosition, sOtherFlip)) {
235 final CollisionVolume boundingVolume = record.boundingVolume
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
ArrayModifier.java 5 import com.jme3.bounding.BoundingVolume;
145 BoundingVolume boundingVolume = node.getWorldBound();
146 if (boundingVolume instanceof BoundingBox) {
147 scale[0] *= ((BoundingBox) boundingVolume).getXExtent() * 2.0f;
148 scale[1] *= ((BoundingBox) boundingVolume).getYExtent() * 2.0f;
149 scale[2] *= ((BoundingBox) boundingVolume).getZExtent() * 2.0f;
150 } else if (boundingVolume instanceof BoundingSphere) {
151 float radius = ((BoundingSphere) boundingVolume).getRadius();
156 throw new IllegalStateException("Unknown bounding volume type: " + boundingVolume.getClass().getName());
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
TerrainPatch.java 37 import com.jme3.bounding.BoundingVolume;
789 if (other instanceof BoundingVolume)
790 if (!getWorldBound().intersects((BoundingVolume)other))
795 else if (other instanceof BoundingVolume)
796 return collideWithBoundingVolume((BoundingVolume)other, results);
    [all...]

Completed in 67 milliseconds