Home
last modified time | relevance | path

Searched refs:getWorldScale (Results 1 – 15 of 15) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DDistanceLodCalculator.java85 …if (distance < getLodDistanceThreshold() * (i + 1)*terrainPatch.getWorldScale().x || i == terrainP… in calculateLod()
111 loc.x += terrainPatch.getSize()*terrainPatch.getWorldScale().x / 2; in getCenterLocation()
112 loc.z += terrainPatch.getSize()*terrainPatch.getWorldScale().z / 2; in getCenterLocation()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DBillboardControl.java219 left.x *= 1.0f / spatial.getWorldScale().x; in rotateAxial()
220 left.y *= 1.0f / spatial.getWorldScale().y; in rotateAxial()
221 left.z *= 1.0f / spatial.getWorldScale().z; in rotateAxial()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java276 return geomap.getTriangleAtPoint(x, z, getWorldScale() , getWorldTranslation()); in getTriangle()
286 return geomap.getGridTrianglesAtPoint(x, z, getWorldScale() , getWorldTranslation()); in getGridTriangles()
313 FloatBuffer newNormalBuffer = geomap.writeNormalArray(null, getWorldScale()); in updateNormals()
317 …er, newBinormalBuffer, (FloatBuffer)getMesh().getBuffer(Type.TexCoord).getData(), getWorldScale()); in updateNormals()
542 Vector3f scale = getWorldScale(); in averageNormalsTangents()
823 translated.x = loc.x/getWorldScale().x - getWorldTranslation().x; in worldCoordinateToLocal()
824 translated.y = loc.y/getWorldScale().y - getWorldTranslation().y; in worldCoordinateToLocal()
825 translated.z = loc.z/getWorldScale().z - getWorldTranslation().z; in worldCoordinateToLocal()
DTerrainQuad.java980 if (!lastScale.equals(getWorldScale())) {
982 lastScale = getWorldScale();
998 int x = Math.round((xz.x / getWorldScale().x) + halfSize);
999 int z = Math.round((xz.y / getWorldScale().z) + halfSize);
1100 … float x = (float)(((xz.x - getWorldTranslation().x) / getWorldScale().x) + (float)totalSize / 2f);
1101 … float z = (float)(((xz.y - getWorldTranslation().z) / getWorldScale().z) + (float)totalSize / 2f);
1103 height *= getWorldScale().y;
1140 … float x = (float)(((xz.x - getWorldTranslation().x) / getWorldScale().x) + (float)totalSize / 2f);
1141 … float z = (float)(((xz.y - getWorldTranslation().z) / getWorldScale().z) + (float)totalSize / 2f);
1206 int x = Math.round((xz.get(i).x / getWorldScale().x) + halfSize);
[all …]
DTerrainGrid.java320 Vector3f tileLoc = location.divide(this.getWorldScale().mult(this.quadSize)); in getTileCell()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java111 localLocation.divideLocal(spatial.getParent().getWorldScale()); in applyTransform()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java77 localLocation.divideLocal(spatial.getParent().getWorldScale()); in applyTransform()
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
DScaleTrack.java81 startScale = spatial.getWorldScale().clone(); in onPlay()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DCalculationBone.java77 … parent.getWorldTranslation().subtract(this.getWorldTranslation()).multLocal(this.getWorldScale()); in getEndPoint()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java128 float sizeScale = emitter.getWorldScale().x; in updateParticleData()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DCharacterControl.java138 localLocation.divideLocal(spatial.getParent().getWorldScale()); in update()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
DBresenhamTerrainPicker.java92 tracer.getGridSpacing().set(patch.getWorldScale()); in getTerrainIntersection()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DVehicleWheel.java107 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DVehicleWheel.java103 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DSpatial.java342 public Vector3f getWorldScale() { in getWorldScale() method in Spatial
1450 store.scale(getWorldScale()); in getLocalToWorldMatrix()