Searched defs:boundingVolume (Results 1 - 2 of 2) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
H A DGameObjectCollisionSystem.java76 * @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
82 registerForCollisions(GameObject object, HitReactionComponent reactionComponent, CollisionVolume boundingVolume, FixedSizeArray<CollisionVolume> attackVolumes, FixedSizeArray<CollisionVolume> vulnerabilityVolumes) argument
281 public CollisionVolume boundingVolume; field in class:GameObjectCollisionSystem.CollisionVolumeRecord
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainPatch.java808 private int collideWithBoundingVolume(BoundingVolume boundingVolume, CollisionResults results) { argument
809 if (boundingVolume instanceof BoundingBox)
810 return collideWithBoundingBox((BoundingBox)boundingVolume, results);
811 else if(boundingVolume instanceof BoundingSphere) {
812 BoundingSphere sphere = (BoundingSphere) boundingVolume;
813 BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(),

Completed in 83 milliseconds