/external/jmonkeyengine/engine/src/test/jme3test/bounding/ |
TestRayCollision.java | 35 import com.jme3.bounding.BoundingBox; 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1);
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHTree.java | 34 import com.jme3.bounding.BoundingBox; 137 BoundingBox sceneBbox = createBox(0, numTris - 1); 141 private BoundingBox createBox(int l, int r) { 153 BoundingBox.checkMinMax(min, max, v1); 154 BoundingBox.checkMinMax(min, max, v2); 155 BoundingBox.checkMinMax(min, max, v3); 158 BoundingBox bbox = new BoundingBox(min, max); 193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) { 206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
Octnode.java | 35 import com.jme3.bounding.BoundingBox; 64 final BoundingBox bbox; 71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){ 76 private BoundingBox getChildBound(int side){ 81 return new BoundingBox(center, extent, extent, extent); 84 private float getAdditionCost(BoundingBox bbox, OCTTriangle t){ 94 private void expandBoxToContainTri(BoundingBox bbox, OCTTriangle t){ 97 BoundingBox.checkMinMax(min, max, t.get1()); 98 BoundingBox.checkMinMax(min, max, t.get2()); 99 BoundingBox.checkMinMax(min, max, t.get3()) [all...] |
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){ 100 public void generateRenderSet(Geometry[] globalGeomList, Set<Geometry> renderSet, Camera cam, BoundingBox parentBox, boolean isRoot){
|
Octree.java | 35 import com.jme3.bounding.BoundingBox; 57 private final BoundingBox bbox; 87 bbox = new BoundingBox(); 130 public BoundingBox getBound(){
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
AreaUtils.java | 35 import com.jme3.bounding.BoundingBox; 52 * BoundingSphere, BoundingBox, or OrientedBoundingBox 0 is returned. 63 return calcScreenArea((BoundingBox) bound, distance, screenWidth); 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
PssmShadowUtil.java | 34 import com.jme3.bounding.BoundingBox; 76 BoundingBox bbOcc = ShadowUtil.computeUnionBound(occ, mat); 77 BoundingBox bbRecv = ShadowUtil.computeUnionBound(recv, mat);
|
ShadowUtil.java | 34 import com.jme3.bounding.BoundingBox;
173 public static BoundingBox computeUnionBound(GeometryList list, Transform transform) {
174 BoundingBox bbox = new BoundingBox();
192 public static BoundingBox computeUnionBound(GeometryList list, Matrix4f mat) {
193 BoundingBox bbox = new BoundingBox();
211 public static BoundingBox computeUnionBound(List<BoundingVolume> bv) {
212 BoundingBox bbox = new BoundingBox();
[all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
EntropyComputeUtil.java | 3 import com.jme3.bounding.BoundingBox; 27 BoundingBox bbox = (BoundingBox) terrainBlock.getBound();
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVCoordinatesGenerator.java | 34 import com.jme3.bounding.BoundingBox; 105 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometries); 202 /* package */static BoundingBox getBoundingBox(List<Geometry> geometries) { 203 BoundingBox result = null; 205 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometry.getMesh()); 221 /* package */static BoundingBox getBoundingBox(Mesh mesh) { 224 if (bv instanceof BoundingBox) { 225 return (BoundingBox) bv; 229 return new BoundingBox(bs.getCenter(), r, r, r); 263 if (bv instanceof BoundingBox) { [all...] |
UVProjectionGenerator.java | 3 import com.jme3.bounding.BoundingBox; 28 public static float[] flatProjection(Mesh mesh, BoundingBox bb) { 53 public static float[] cubeProjection(Mesh mesh, BoundingBox bb) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingBox.java | 51 * <code>BoundingBox</code> defines an axis-aligned cube that defines a
60 * @version $Id: BoundingBox.java,v 1.50 2007/09/22 16:46:35 irrisor Exp $
62 public class BoundingBox extends BoundingVolume {
67 * Default constructor instantiates a new <code>BoundingBox</code>
70 public BoundingBox() {
74 * Contstructor instantiates a new <code>BoundingBox</code> object with
77 public BoundingBox(Vector3f c, float x, float y, float z) {
84 public BoundingBox(BoundingBox source) {
91 public BoundingBox(Vector3f min, Vector3f max) { [all...] |
BoundingVolume.java | 62 * {@link BoundingBox}.
277 public abstract boolean intersectsBoundingBox(BoundingBox bb);
|
BoundingSphere.java | 479 BoundingBox box = (BoundingBox) volume;
523 BoundingBox box = (BoundingBox) volume;
688 * @see com.jme.bounding.BoundingVolume#intersectsBoundingBox(com.jme.bounding.BoundingBox)
690 public boolean intersectsBoundingBox(BoundingBox bb) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
WireBox.java | 35 import com.jme3.bounding.BoundingBox; 104 public void fromBoundingBox(BoundingBox bbox){
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestFancyCar.java | 35 import com.jme3.bounding.BoundingBox; 164 BoundingBox box = (BoundingBox) chasis.getModelBound(); 186 box = (BoundingBox) wheel_fr.getModelBound(); 195 box = (BoundingBox) wheel_fl.getModelBound(); 201 box = (BoundingBox) wheel_br.getModelBound(); 207 box = (BoundingBox) wheel_bl.getModelBound();
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTexture3D.java | 8 import com.jme3.bounding.BoundingBox; 41 //getting the boundingbox 43 BoundingBox bb = (BoundingBox) sphere.getBound();
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
ArrayModifier.java | 3 import com.jme3.bounding.BoundingBox;
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;
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestOctree.java | 36 import com.jme3.bounding.BoundingBox; 64 private BoundingBox octBox;
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/ |
CollisionShapeFactory.java | 34 import com.jme3.bounding.BoundingBox; 225 * @return BoxCollisionShape with the size of the spatials BoundingBox 228 spatial.setModelBound(new BoundingBox()); 231 ((BoundingBox) spatial.getWorldBound()).getExtent(new Vector3f()));
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
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);
[all...] |
TerrainPatch.java | 35 import com.jme3.bounding.BoundingBox;
[all...] |
/external/chromium_org/ui/gfx/ |
quad_f.h | 61 RectF BoundingBox() const {
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 35 import com.jme3.bounding.BoundingBox; 59 BoundingBox bbox = (BoundingBox) geom.getModelBound(); 284 private static Transform convertPositions(FloatBuffer input, BoundingBox bbox, Buffer output){
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestSpotLightTerrain.java | 35 import com.jme3.bounding.BoundingBox; 197 terrain.setModelBound(new BoundingBox());
|