Home
last modified time | relevance | path

Searched refs:getCenter (Results 1 – 25 of 28) sorted by relevance

12

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DFastOctnode.java92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x, in findChildBound()
93 bbox.getCenter().y + extent * Octnode.extentMult[side].y, in findChildBound()
94 bbox.getCenter().z + extent * Octnode.extentMult[side].z); in findChildBound()
101 tempBox.setCenter(parentBox.getCenter()); in generateRenderSet()
127 float x = tempBox.getCenter().x; in generateRenderSet()
128 float y = tempBox.getCenter().y; in generateRenderSet()
129 float z = tempBox.getCenter().z; in generateRenderSet()
139 tempBox.getCenter().set(x,y,z); in generateRenderSet()
DOctnode.java78 Vector3f center = new Vector3f(bbox.getCenter().x + extent * extentMult[side].x, in getChildBound()
79 bbox.getCenter().y + extent * extentMult[side].y, in getChildBound()
80 bbox.getCenter().z + extent * extentMult[side].z); in getChildBound()
276 geom.setLocalTranslation(bbox2.getCenter()); in renderBounds()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DTriangleAxisComparator.java48 Vector3f c1 = o1.getCenter(); in compare()
49 Vector3f c2 = o2.getCenter(); in compare()
DBIHNode.java158 float[] minExts = {box.getCenter().x - box.getXExtent(), in intersectWhere()
159 box.getCenter().y - box.getYExtent(), in intersectWhere()
160 box.getCenter().z - box.getZExtent()}; in intersectWhere()
162 float[] maxExts = {box.getCenter().x + box.getXExtent(), in intersectWhere()
163 box.getCenter().y + box.getYExtent(), in intersectWhere()
164 box.getCenter().z + box.getZExtent()}; in intersectWhere()
DBIHTriangle.java65 public Vector3f getCenter() { in getCenter() method in BIHTriangle
DBIHTree.java321 float split = currentBox.getCenter().get(axis); in createNode()
436 bbox = new BoundingBox(bv.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java120 float cx = bt.getCenter().x, cy = bt.getCenter().y; in tubeProjection()
123 float vBase = bt.getCenter().z - bt.getHeight() * 0.5f; in tubeProjection()
179 float cx = bs.getCenter().x, cy = bs.getCenter().y, cz = bs.getCenter().z; in sphereProjection()
DUVCoordinatesGenerator.java229 return new BoundingBox(bs.getCenter(), r, r, r); in getBoundingBox()
267 return new BoundingSphere(r, bb.getCenter()); in getBoundingSphere()
404 public Vector3f getCenter() { in getCenter() method
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DPssmShadowUtil.java79 …return min(max(bbOcc.getZExtent() - bbOcc.getCenter().z, bbRecv.getZExtent() - bbRecv.getCenter().… in computeZFar()
DShadowUtil.java179 if (!Float.isNaN(newVol.getCenter().x) && !Float.isInfinite(newVol.getCenter().x)) { in computeUnionBound()
199 if (!Float.isNaN(store.getCenter().x) && !Float.isInfinite(store.getCenter().x)) { in computeUnionBound()
397 occBB.setCenter(occBB.getCenter().addLocal(0, 0, 25)); in updateShadowCamera()
403 occBB.setCenter(occBB.getCenter().subtractLocal(0, 0, 25)); in updateShadowCamera()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestFancyCar.java190 player.addWheel(wheel_fr.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer()
196 player.addWheel(wheel_fl.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer()
202 player.addWheel(wheel_br.getParent(), box.getCenter().add(0, -back_wheel_h, 0), in buildPlayer()
208 player.addWheel(wheel_bl.getParent(), box.getCenter().add(0, -back_wheel_h, 0), in buildPlayer()
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingVolume.java191 public final Vector3f getCenter() { in getCenter() method in BoundingVolume
195 public final Vector3f getCenter(Vector3f store) { in getCenter() method in BoundingVolume
DIntersection.java101 Vector3f center = bbox.getCenter(); in intersect()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java813 … BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
835 …topLeft = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x-bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox()
836 …opRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox()
837 …tomLeft = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x-bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox()
838 …omRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox()
/external/replicaisland/src/com/replica/replicaisland/
DSphereCollisionVolume.java63 public Vector2 getCenter() { in getCenter() method in SphereCollisionVolume
100 offsetByCenter(mWorkspaceVector2, sphereOther.getCenter(), otherFlip); in intersects()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
DOpaqueComparator.java62 spatPosition = spat.getWorldBound().getCenter(); in distanceToCam()
DTransparentComparator.java68 spatPosition = spat.getWorldBound().getCenter(); in distanceToCam2()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
DEmitterSphereShape.java88 public Vector3f getCenter() { in getCenter() method in EmitterSphereShape
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRing.java94 public Vector3f getCenter() { in getCenter() method in Ring
DTriangle.java199 public Vector3f getCenter() { in getCenter() method in Triangle
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DAbstractBox.java117 public final Vector3f getCenter() { in getCenter() method in AbstractBox
DDome.java139 public Vector3f getCenter() { in getCenter() method in Dome
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java288 Vector3f offset = bbox.getCenter().negate(); in convertPositions()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DSweepSphere.java58 public Vector3f getCenter() { in getCenter() method in SweepSphere
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DSpatial.java1007 Vector3f worldCenter = getWorldBound().getCenter(); in center()

12