/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | BIHTree.java | 34 import com.jme3.bounding.BoundingBox; 137 BoundingBox sceneBbox = createBox(0, numTris - 1); in construct() 141 private BoundingBox createBox(int l, int r) { in createBox() 153 BoundingBox.checkMinMax(min, max, v1); in createBox() 154 BoundingBox.checkMinMax(min, max, v2); in createBox() 155 BoundingBox.checkMinMax(min, max, v3); in createBox() 158 BoundingBox bbox = new BoundingBox(min, max); in createBox() 193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) { in setMinMax() 206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) { in getMinMax() 291 private BIHNode createNode(int l, int r, BoundingBox nodeBbox, int depth) { in createNode() [all …]
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | Octnode.java | 35 import com.jme3.bounding.BoundingBox; 64 final BoundingBox bbox; 71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){ in Octnode() 76 private BoundingBox getChildBound(int side){ in getChildBound() 81 return new BoundingBox(center, extent, extent, extent); in getChildBound() 84 private float getAdditionCost(BoundingBox bbox, OCTTriangle t){ in getAdditionCost() 94 private void expandBoxToContainTri(BoundingBox bbox, OCTTriangle t){ in expandBoxToContainTri() 97 BoundingBox.checkMinMax(min, max, t.get1()); in expandBoxToContainTri() 98 BoundingBox.checkMinMax(min, max, t.get2()); in expandBoxToContainTri() 99 BoundingBox.checkMinMax(min, max, t.get3()); in expandBoxToContainTri() [all …]
|
D | FastOctnode.java | 35 import com.jme3.bounding.BoundingBox; 47 private static final BoundingBox tempBox = new BoundingBox(); 90 private static void findChildBound(BoundingBox bbox, int side){ in findChildBound() 100 …derSet(Geometry[] globalGeomList, Set<Geometry> renderSet, Camera cam, BoundingBox parentBox, bool… in generateRenderSet()
|
D | Octree.java | 35 import com.jme3.bounding.BoundingBox; 57 private final BoundingBox bbox; 87 bbox = new BoundingBox(); in Octree() 130 public BoundingBox getBound(){ in getBound()
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
D | ShadowUtil.java | 34 import com.jme3.bounding.BoundingBox; 173 public static BoundingBox computeUnionBound(GeometryList list, Transform transform) { in computeUnionBound() 174 BoundingBox bbox = new BoundingBox(); in computeUnionBound() 192 public static BoundingBox computeUnionBound(GeometryList list, Matrix4f mat) { in computeUnionBound() 193 BoundingBox bbox = new BoundingBox(); in computeUnionBound() 211 public static BoundingBox computeUnionBound(List<BoundingVolume> bv) { in computeUnionBound() 212 BoundingBox bbox = new BoundingBox(); in computeUnionBound() 226 public static BoundingBox computeBoundForPoints(Vector3f[] pts, Transform transform) { in computeBoundForPoints() 238 return new BoundingBox(center, extent.x, extent.y, extent.z); in computeBoundForPoints() 247 public static BoundingBox computeBoundForPoints(Vector3f[] pts, Matrix4f mat) { in computeBoundForPoints() [all …]
|
D | PssmShadowUtil.java | 34 import com.jme3.bounding.BoundingBox; 76 BoundingBox bbOcc = ShadowUtil.computeUnionBound(occ, mat); in computeZFar() 77 BoundingBox bbRecv = ShadowUtil.computeUnionBound(recv, mat); in computeZFar()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | UVCoordinatesGenerator.java | 34 import com.jme3.bounding.BoundingBox; 105 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometries); in generateUVCoordinates() 202 /* package */static BoundingBox getBoundingBox(List<Geometry> geometries) { in getBoundingBox() 203 BoundingBox result = null; in getBoundingBox() 205 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometry.getMesh()); in getBoundingBox() 221 /* package */static BoundingBox getBoundingBox(Mesh mesh) { in getBoundingBox() 224 if (bv instanceof BoundingBox) { in getBoundingBox() 225 return (BoundingBox) bv; in getBoundingBox() 229 return new BoundingBox(bs.getCenter(), r, r, r); in getBoundingBox() 263 if (bv instanceof BoundingBox) { in getBoundingSphere() [all …]
|
D | UVProjectionGenerator.java | 3 import com.jme3.bounding.BoundingBox; 28 public static float[] flatProjection(Mesh mesh, BoundingBox bb) { in flatProjection() 53 public static float[] cubeProjection(Mesh mesh, BoundingBox bb) { in cubeProjection()
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingBox.java | 62 public class BoundingBox extends BoundingVolume { class 70 public BoundingBox() { in BoundingBox() method in BoundingBox 77 public BoundingBox(Vector3f c, float x, float y, float z) { in BoundingBox() method in BoundingBox 84 public BoundingBox(BoundingBox source) { in BoundingBox() method in BoundingBox 91 public BoundingBox(Vector3f min, Vector3f max) { in BoundingBox() method in BoundingBox 272 BoundingBox box; in transform() 274 box = new BoundingBox(); in transform() 276 box = (BoundingBox) store; in transform() 304 BoundingBox box; in transform() 306 box = new BoundingBox(); in transform() [all …]
|
D | BoundingSphere.java | 479 BoundingBox box = (BoundingBox) volume; in merge() 523 BoundingBox box = (BoundingBox) volume; in mergeLocal() 690 public boolean intersectsBoundingBox(BoundingBox bb) { in intersectsBoundingBox()
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestFancyCar.java | 35 import com.jme3.bounding.BoundingBox; 164 BoundingBox box = (BoundingBox) chasis.getModelBound(); in buildPlayer() 186 box = (BoundingBox) wheel_fr.getModelBound(); in buildPlayer() 195 box = (BoundingBox) wheel_fl.getModelBound(); in buildPlayer() 201 box = (BoundingBox) wheel_br.getModelBound(); in buildPlayer() 207 box = (BoundingBox) wheel_bl.getModelBound(); in buildPlayer()
|
D | TestHoveringTank.java | 35 import com.jme3.bounding.BoundingBox; 173 BoundingBox box = (BoundingBox) missile.getWorldBound(); in makeMissile()
|
/external/jmonkeyengine/engine/src/test/jme3test/bounding/ |
D | TestRayCollision.java | 35 import com.jme3.bounding.BoundingBox; 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1); in main()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
D | AreaUtils.java | 35 import com.jme3.bounding.BoundingBox; 63 return calcScreenArea((BoundingBox) bound, distance, screenWidth); in calcScreenArea() 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) { in calcScreenArea()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
D | EntropyComputeUtil.java | 3 import com.jme3.bounding.BoundingBox; 27 BoundingBox bbox = (BoundingBox) terrainBlock.getBound(); in computeLodEntropy()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainQuad.java | 35 import com.jme3.bounding.BoundingBox; 117 private BoundingBox affectedAreaBBox; // only set in the root quad 178 affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), size*2, Float.MAX_VALUE, size*2); 196 …affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), totalSize*2, Float.MAX_VALUE, totalSize*2); 833 patch1.setModelBound(new BoundingBox()); 855 patch2.setModelBound(new BoundingBox()); 877 patch3.setModelBound(new BoundingBox()); 899 patch4.setModelBound(new BoundingBox()); 933 if (bv instanceof BoundingBox) { 934 attachBoundingBox((BoundingBox)bv, parent); [all …]
|
D | TerrainPatch.java | 35 import com.jme3.bounding.BoundingBox; 809 if (boundingVolume instanceof BoundingBox) in collideWithBoundingVolume() 810 return collideWithBoundingBox((BoundingBox)boundingVolume, results); in collideWithBoundingVolume() 813 … BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume() 832 private int collideWithBoundingBox(BoundingBox bbox, CollisionResults results) { in collideWithBoundingBox() 936 if (getModelBound() instanceof BoundingBox) { in ensurePositiveVolumeBBox() 937 if (((BoundingBox)getModelBound()).getYExtent() < 0.001f) { in ensurePositiveVolumeBBox() 939 ((BoundingBox)getModelBound()).setYExtent(0.001f); in ensurePositiveVolumeBBox()
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
D | TestTexture3D.java | 8 import com.jme3.bounding.BoundingBox; 43 BoundingBox bb = (BoundingBox) sphere.getBound(); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
D | ArrayModifier.java | 3 import com.jme3.bounding.BoundingBox; 146 if (boundingVolume instanceof BoundingBox) { in apply() 147 scale[0] *= ((BoundingBox) boundingVolume).getXExtent() * 2.0f; in apply() 148 scale[1] *= ((BoundingBox) boundingVolume).getYExtent() * 2.0f; in apply() 149 scale[2] *= ((BoundingBox) boundingVolume).getZExtent() * 2.0f; in apply()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | WireBox.java | 35 import com.jme3.bounding.BoundingBox; 104 public void fromBoundingBox(BoundingBox bbox){ in fromBoundingBox()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/ |
D | CollisionShapeFactory.java | 34 import com.jme3.bounding.BoundingBox; 228 spatial.setModelBound(new BoundingBox()); in createSingleBoxShape() 231 ((BoundingBox) spatial.getWorldBound()).getExtent(new Vector3f())); in createSingleBoxShape()
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
D | TestOctree.java | 36 import com.jme3.bounding.BoundingBox; 64 private BoundingBox octBox;
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | FloatToFixed.java | 35 import com.jme3.bounding.BoundingBox; 59 BoundingBox bbox = (BoundingBox) geom.getModelBound(); in convertToFixed() 284 private static Transform convertPositions(FloatBuffer input, BoundingBox bbox, Buffer output){ in convertPositions()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticleEmitter.java | 34 import com.jme3.bounding.BoundingBox; 874 BoundingBox bbox = (BoundingBox) this.getMesh().getBound(); in emitAllParticles() 1019 BoundingBox bbox = (BoundingBox) this.getMesh().getBound(); in updateParticleState()
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
D | TestSpotLightTerrain.java | 35 import com.jme3.bounding.BoundingBox; 197 terrain.setModelBound(new BoundingBox()); in makeTerrain()
|