/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
D | TransparentComparator.java | 42 private final Vector3f tempVec = new Vector3f(); field in TransparentComparator 73 spatPosition.subtract(camPosition, tempVec); in distanceToCam2() 74 spat.queueDistance = tempVec.dot(tempVec); in distanceToCam2() 76 float retval = Math.abs(tempVec.dot(viewVector) in distanceToCam2() 78 viewVector.mult(retval, tempVec); in distanceToCam2() 80 spat.queueDistance = tempVec.length(); in distanceToCam2()
|
D | OpaqueComparator.java | 43 private final Vector3f tempVec = new Vector3f(); field in OpaqueComparator 67 spatPosition.subtract(camPosition, tempVec); in distanceToCam() 68 spat.queueDistance = tempVec.dot(viewVector); in distanceToCam()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
D | PhysicsRigidBody.java | 72 protected javax.vecmath.Vector3f tempVec = new javax.vecmath.Vector3f(); field in PhysicsRigidBody 343 rBody.getGravity(tempVec); in getGravity() 344 return Converter.convert(tempVec, gravity); in getGravity() 354 rBody.setGravity(Converter.convert(gravity, tempVec)); in setGravity() 412 return Converter.convert(rBody.getAngularVelocity(tempVec)); in getAngularVelocity() 420 Converter.convert(rBody.getAngularVelocity(tempVec), vec); in getAngularVelocity() 428 rBody.setAngularVelocity(Converter.convert(vec, tempVec)); in setAngularVelocity() 437 return Converter.convert(rBody.getLinearVelocity(tempVec)); in getLinearVelocity() 445 Converter.convert(rBody.getLinearVelocity(tempVec), vec); in getLinearVelocity() 453 rBody.setLinearVelocity(Converter.convert(vec, tempVec)); in setLinearVelocity() [all …]
|
D | PhysicsCharacter.java | 69 private javax.vecmath.Vector3f tempVec = new javax.vecmath.Vector3f(); field in PhysicsCharacter 103 character.warp(Converter.convert(location, tempVec)); in warp() 115 character.setWalkDirection(Converter.convert(walkDirection, tempVec)); in setWalkDirection()
|
D | PhysicsVehicle.java | 470 vehicle.getForwardVector(tempVec); in getForwardVector() 471 Converter.convert(tempVec, vector); in getForwardVector()
|
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
D | TerrainLighting.vert | 40 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight); 41 lightVec.xyz = tempVec; 42 float dist = length(tempVec); 44 lightDir.xyz = tempVec / vec3(dist);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | Pose.java | 52 private transient final Vector3f tempVec = new Vector3f(); field in Pose 78 tempVec.set(offset).multLocal(blend); in apply() 84 tempVec2.addLocal(tempVec); in apply()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | Arrow.java | 51 private Vector3f tempVec = new Vector3f(); field in Arrow 84 Vector3f vec = tempVec.set(positions[i], in Arrow() 126 Vector3f vec = tempVec.set(positions[i], in setArrowExtent()
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Lighting.glsllib | 21 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight); 22 float dist = length(tempVec); 25 lightDir.xyz = tempVec / dist;
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | Deferred.frag | 107 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight); 109 float dist = length(tempVec); 111 lightDir.xyz = tempVec / vec3(dist); 113 lightVec = tempVec; 116 lightDir = vec4(normalize(tempVec), 1.0);
|
D | Lighting.vert | 85 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight); 86 lightVec = tempVec; 88 float dist = length(tempVec); 90 lightDir.xyz = tempVec / vec3(dist); 92 lightDir = vec4(normalize(tempVec), 1.0);
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestAttachGhostObject.java | 59 private Vector3f tempVec = new Vector3f(); field in TestAttachGhostObject
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
D | LwjglGL1Renderer.java | 67 private Vector3f tempVec = new Vector3f(); field in LwjglGL1Renderer 542 pos = tempVec.set(dLight.getDirection()).negateLocal().normalizeLocal(); in setLighting()
|