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

  /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/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...]

Completed in 44 milliseconds