Home
last modified time | relevance | path

Searched refs:getWorldTranslation (Results 1 – 25 of 37) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLightControl.java124 ((PointLight) light).setPosition(spatial.getWorldTranslation()); in spatialTolight()
129 …((DirectionalLight) light).setDirection(vars.vect1.set(spatial.getWorldTranslation()).multLocal(-1… in spatialTolight()
146 …ctor3f vecDiff = vars.vect1.set(pLight.getPosition()).subtractLocal(spatial.getWorldTranslation()); in lightToSpatial()
153 Vector3f vecDiff = vars.vect1.subtractLocal(spatial.getWorldTranslation()); in lightToSpatial()
DCameraControl.java112 camera.setLocation(spatial.getWorldTranslation()); in controlUpdate()
120 …ctor3f vecDiff = vars.vect1.set(camera.getLocation()).subtractLocal(spatial.getWorldTranslation()); in controlUpdate()
DBillboardControl.java150 spatial.getWorldTranslation()); in rotateCameraAligned()
216 spatial.getWorldTranslation()); in rotateAxial()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
DGuiComparator.java47 float z1 = o1.getWorldTranslation().getZ(); in compare()
48 float z2 = o2.getWorldTranslation().getZ(); in compare()
DOpaqueComparator.java64 spatPosition = spat.getWorldTranslation(); in distanceToCam()
DTransparentComparator.java70 spatPosition = spat.getWorldTranslation(); in distanceToCam2()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DCalculationBone.java77 …return parent.getWorldTranslation().subtract(this.getWorldTranslation()).multLocal(this.getWorldSc… in getEndPoint()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DGhostControl.java59 return spatial.getWorldTranslation(); in getSpatialTranslation()
132 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
DCharacterControl.java60 return spatial.getWorldTranslation(); in getSpatialTranslation()
137 localLocation.subtractLocal(spatial.getParent().getWorldTranslation()); in update()
DRigidBodyControl.java191 return spatial.getWorldTranslation(); in getSpatialTranslation()
218 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
DVehicleControl.java74 return spatial.getWorldTranslation(); in getSpatialTranslation()
195 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
/external/jmonkeyengine/engine/src/core/com/jme3/light/
DPointLight.java65 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
DSpotLight.java83 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
/external/jmonkeyengine/engine/src/core/com/jme3/input/
DChaseCamera.java272 pos.addLocal(target.getWorldTranslation()); in computePosition()
325 targetLocation.set(target.getWorldTranslation()).addLocal(lookAtOffset); in updateCamera()
535 prevPos = new Vector3f(target.getWorldTranslation()); in setSpatial()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DSpatial.java331 public Vector3f getWorldTranslation() { in getWorldTranslation() method in Spatial
405 Vector3f worldTranslation = getWorldTranslation(); in lookAt()
1006 Vector3f worldTrans = getWorldTranslation(); in center()
1452 store.setTranslation(getWorldTranslation()); in getLocalToWorldMatrix()
/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()
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()
DTerrainGrid.java331 … l.tileDetached(getTileCell(this.getQuad(idx).getWorldTranslation()), this.getQuad(idx)); in removeQuad()
359 …tq.fixNormalEdges(new BoundingBox(tq.getWorldTranslation(), totalSize*2, Float.MAX_VALUE, totalSiz… in attachQuadAt()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java110 … localLocation.set(worldLocation).subtractLocal(spatial.getParent().getWorldTranslation()); in applyTransform()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java76 localLocation.subtractLocal(spatial.getParent().getWorldTranslation()); in applyTransform()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DPerspectiveLodCalculator.java126 Vector3f loc = patch.getWorldTranslation().clone(); in getCenterLocation()
DDistanceLodCalculator.java110 Vector3f loc = terrainPatch.getWorldTranslation().clone(); in getCenterLocation()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestHoveringTank.java164 Vector3f pos = spaceCraft.getWorldTranslation().clone(); in makeMissile()
221 Vector3f pos = spaceCraft.getWorldTranslation().clone(); in updateCamera()
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
DPositionTrack.java81 startPosition = spatial.getWorldTranslation().clone(); in onPlay()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintDistLimit.java54 Vector3f targetLocation = ((Spatial) owner).getWorldTranslation(); in bakeConstraint()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DSceneLoader.java388 Vector3f pos = node.getWorldTranslation(); in endElement()
393 Vector3f pos = node.getWorldTranslation(); in endElement()

12