Searched refs:getWorldScale (Results 1 – 15 of 15) sorted by relevance
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
D | DistanceLodCalculator.java | 85 …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/ |
D | BillboardControl.java | 219 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/ |
D | TerrainPatch.java | 276 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()
|
D | TerrainQuad.java | 980 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 …]
|
D | TerrainGrid.java | 320 Vector3f tileLoc = location.divide(this.getWorldScale().mult(this.quadSize)); in getTileCell()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/ |
D | RigidBodyMotionState.java | 111 localLocation.divideLocal(spatial.getParent().getWorldScale()); in applyTransform()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/infos/ |
D | RigidBodyMotionState.java | 77 localLocation.divideLocal(spatial.getParent().getWorldScale()); in applyTransform()
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/ |
D | ScaleTrack.java | 81 startScale = spatial.getWorldScale().clone(); in onPlay()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
D | CalculationBone.java | 77 … parent.getWorldTranslation().subtract(this.getWorldTranslation()).multLocal(this.getWorldScale()); in getEndPoint()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticlePointMesh.java | 128 float sizeScale = emitter.getWorldScale().x; in updateParticleData()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
D | CharacterControl.java | 138 localLocation.divideLocal(spatial.getParent().getWorldScale()); in update()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/ |
D | BresenhamTerrainPicker.java | 92 tracer.getGridSpacing().set(patch.getWorldScale()); in getTerrainIntersection()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
D | VehicleWheel.java | 107 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
D | VehicleWheel.java | 103 localLocation.divideLocal(wheelSpatial.getParent().getWorldScale()); in applyWheelTransform()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Spatial.java | 342 public Vector3f getWorldScale() { in getWorldScale() method in Spatial 1450 store.scale(getWorldScale()); in getLocalToWorldMatrix()
|