/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | AbstractBox.java | 80 center.add(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]), in computeVertices() 81 center.subtract(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]), in computeVertices() 82 center.add(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]), in computeVertices() 83 center.subtract(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]), in computeVertices() 84 center.add(axes[0]).addLocal(axes[1]).addLocal(axes[2]), in computeVertices() 85 center.subtract(axes[0]).addLocal(axes[1]).addLocal(axes[2]) in computeVertices() 184 center.set(maxPoint).addLocal(minPoint).multLocal(0.5f); in updateGeometry()
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestPhysicsCharacter.java | 136 walkDirection.addLocal(camLeft); in simpleUpdate() 139 walkDirection.addLocal(camLeft.negate()); in simpleUpdate() 142 viewDirection.addLocal(camLeft.mult(0.02f)); in simpleUpdate() 145 viewDirection.addLocal(camLeft.mult(0.02f).negate()); in simpleUpdate() 148 walkDirection.addLocal(camDir); in simpleUpdate() 151 walkDirection.addLocal(camDir.negate()); in simpleUpdate()
|
D | TestQ3.java | 129 walkDirection.addLocal(camLeft); in simpleUpdate() 131 walkDirection.addLocal(camLeft.negate()); in simpleUpdate() 133 walkDirection.addLocal(camDir); in simpleUpdate() 135 walkDirection.addLocal(camDir.negate()); in simpleUpdate()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterMeshFaceShape.java | 66 store.addLocal(vertices.get(meshIndex).get(vertIndex)); in getRandomPoint() 67 …store.addLocal((vertices.get(meshIndex).get(vertIndex + 1).x - vertices.get(meshIndex).get(vertInd… in getRandomPoint() 70 …store.addLocal((vertices.get(meshIndex).get(vertIndex + 2).x - store.x) * moveFactor, (vertices.ge… in getRandomPoint() 90 store.addLocal(vertices.get(meshIndex).get(vertIndex)); in getRandomPointAndNormal() 91 …store.addLocal((vertices.get(meshIndex).get(vertIndex + 1).x - vertices.get(meshIndex).get(vertInd… in getRandomPointAndNormal() 94 …store.addLocal((vertices.get(meshIndex).get(vertIndex + 2).x - store.x) * moveFactor, (vertices.ge… in getRandomPointAndNormal()
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
D | ShadowUtil.java | 130 temp.set(dir).multLocal(far).addLocal(pos); in updateFrustumPoints() 132 temp.set(dir).multLocal(near).addLocal(pos); in updateFrustumPoints() 141 points[1].set(nearCenter).addLocal(nearUp).subtractLocal(nearRight); in updateFrustumPoints() 142 points[2].set(nearCenter).addLocal(nearUp).addLocal(nearRight); in updateFrustumPoints() 143 points[3].set(nearCenter).subtractLocal(nearUp).addLocal(nearRight); in updateFrustumPoints() 146 points[5].set(farCenter).addLocal(farUp).subtractLocal(farRight); in updateFrustumPoints() 147 points[6].set(farCenter).addLocal(farUp).addLocal(farRight); in updateFrustumPoints() 148 points[7].set(farCenter).subtractLocal(farUp).addLocal(farRight); in updateFrustumPoints() 154 center.addLocal(points[i]); in updateFrustumPoints() 162 points[i].addLocal(cDir); in updateFrustumPoints() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
D | TestTempVars.java | 89 sumCompute.addLocal(vector); in methodThatUsesAllocation() 101 sumCompute.addLocal(vars.vect1); in recursiveMethod() 110 sumCompute.addLocal(vars.vect1); in methodThatUsesTempVars()
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloCollision.java | 171 if (left) { walkDirection.addLocal(camLeft); } in simpleUpdate() 172 if (right) { walkDirection.addLocal(camLeft.negate()); } in simpleUpdate() 173 if (up) { walkDirection.addLocal(camDir); } in simpleUpdate() 174 if (down) { walkDirection.addLocal(camDir.negate()); } in simpleUpdate()
|
D | HelloTerrainCollision.java | 216 if (left) { walkDirection.addLocal(camLeft); } in simpleUpdate() 217 if (right) { walkDirection.addLocal(camLeft.negate()); } in simpleUpdate() 218 if (up) { walkDirection.addLocal(camDir); } in simpleUpdate() 219 if (down) { walkDirection.addLocal(camDir.negate()); } in simpleUpdate()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/ |
D | MouseJoint.java | 198 m_C.set(cB).addLocal(m_rB).subLocal(m_targetA); in initVelocityConstraints() 235 Cdot.addLocal(vB); in solveVelocityConstraints() 240 temp.set(m_impulse).mulLocal(m_gamma).addLocal(m_C).addLocal(Cdot).negateLocal(); in solveVelocityConstraints() 245 m_impulse.addLocal(impulse); in solveVelocityConstraints()
|
D | PrismaticJoint.java | 193 argOut.set(m_perp).mulLocal(m_impulse.x).addLocal(temp).mulLocal(inv_dt); in getReactionForce() 225 p1.set(bA.m_sweep.c).addLocal(rA); in getJointSpeed() 226 p2.set(bB.m_sweep.c).addLocal(rB); in getJointSpeed() 241 temp2.addLocal(vB).subLocal(vA).subLocal(temp3); in getJointSpeed() 425 d.set(cB).subLocal(cA).addLocal(rB).subLocal(rA); in initVelocityConstraints() 433 temp.set(d).addLocal(rA); in initVelocityConstraints() 447 temp.set(d).addLocal(rA); in initVelocityConstraints() 503 P.set(m_perp).mulLocal(m_impulse.x).addLocal(temp); in initVelocityConstraints() 590 m_impulse.addLocal(df); in solveVelocityConstraints() 607 f2r.addLocal(f1.x, f1.y); in solveVelocityConstraints() [all …]
|
D | PulleyJoint.java | 213 m_uA.set(cA).addLocal(m_rA).subLocal(m_groundAnchorA); in initVelocityConstraints() 214 m_uB.set(cB).addLocal(m_rB).subLocal(m_groundAnchorB); in initVelocityConstraints() 289 vpA.addLocal(vA); in solveVelocityConstraints() 291 vpB.addLocal(vB); in solveVelocityConstraints() 337 uA.set(cA).addLocal(rA).subLocal(m_groundAnchorA); in solvePositionConstraints() 338 uB.set(cB).addLocal(rB).subLocal(m_groundAnchorB); in solvePositionConstraints()
|
D | FrictionJoint.java | 194 vB.addLocal(temp); in initVelocityConstraints() 248 Cdot.addLocal(vB).subLocal(vA).subLocal(temp); in solveVelocityConstraints() 257 m_linearImpulse.addLocal(impulse); in solveVelocityConstraints() 273 vB.addLocal(temp); in solveVelocityConstraints()
|
D | WheelJoint.java | 140 argOut.set(m_ax).mulLocal(m_springImpulse).addLocal(temp).mulLocal(inv_dt); in getReactionForce() 264 d.set(cB).addLocal(rB).subLocal(cA).subLocal(rA); in initVelocityConstraints() 269 m_sAy = Vec2.cross(temp.set(d).addLocal(rA), m_ay); in initVelocityConstraints() 285 m_sAx = Vec2.cross(temp.set(d).addLocal(rA), m_ax); in initVelocityConstraints() 457 d.set(cB).subLocal(cA).addLocal(rB).subLocal(rA); in solvePositionConstraints() 462 float sAy = Vec2.cross(temp.set(d).addLocal(rA), ay); in solvePositionConstraints()
|
D | RopeJoint.java | 87 m_u.set(cB).addLocal(m_rB).subLocal(cA).subLocal(m_rA); in initVelocityConstraints() 153 vpA.addLocal(vA); in solveVelocityConstraints() 155 vpB.addLocal(vB); in solveVelocityConstraints() 207 u.set(cB).addLocal(rB).subLocal(cA).subLocal(rA); in solvePositionConstraints()
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
D | SweepSphere.java | 264 contactPoint.addLocal(sCenter); in collideWithTriangle() 276 contactNormal.addLocal(center); in collideWithTriangle() 345 contactNormal.addLocal(center); in collideWithTriangle() 362 temp3.set(dimension).addLocal(other.dimension); in collideWithSweepSphere() 379 temp1.set(velocity).multLocal(t).addLocal(center); in collideWithSweepSphere() 380 temp2.set(other.velocity).multLocal(t).addLocal(other.center); in collideWithSweepSphere() 389 temp3.set(temp2).multLocal(dimension).addLocal(temp1); in collideWithSweepSphere()
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingSphere.java | 286 Vector3f o = a.cross(b).multLocal(c.lengthSquared()).addLocal( in setSphere() 287 c.cross(a).multLocal(b.lengthSquared())).addLocal( in setSphere() 320 …Vector3f o = acrossB.cross(a).multLocal(b.lengthSquared()).addLocal(b.cross(acrossB).multLocal(a.l… in setSphere() 355 center.addLocal(points[i]); in averagePoints() 395 sphere.center.addLocal(trans.getTranslation()); in transform() 612 rCenter.set(center.addLocal(diff.multLocal(coeff))); in merge() 760 Vector3f point = new Vector3f(ray.direction).multLocal(distance).addLocal(ray.origin); in collideWithRay() 780 Vector3f point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin); in collideWithRay() 784 point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin); in collideWithRay() 789 Vector3f point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin); in collideWithRay()
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
D | TerrainGridSerializationTest.java | 162 this.walkDirection.addLocal(camLeft); in simpleUpdate() 165 this.walkDirection.addLocal(camLeft.negate()); in simpleUpdate() 168 this.walkDirection.addLocal(camDir); in simpleUpdate() 171 this.walkDirection.addLocal(camDir.negate()); in simpleUpdate()
|
D | TerrainGridTileLoaderTest.java | 219 this.walkDirection.addLocal(camLeft); in simpleUpdate() 222 this.walkDirection.addLocal(camLeft.negate()); in simpleUpdate() 225 this.walkDirection.addLocal(camDir); in simpleUpdate() 228 this.walkDirection.addLocal(camDir.negate()); in simpleUpdate()
|
D | TerrainGridTest.java | 222 this.walkDirection.addLocal(camLeft); in simpleUpdate() 225 this.walkDirection.addLocal(camLeft.negate()); in simpleUpdate() 228 this.walkDirection.addLocal(camDir); in simpleUpdate() 231 this.walkDirection.addLocal(camDir.negate()); in simpleUpdate()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
D | ConstraintDistLimit.java | 62 translations[frame].addLocal(v); in bakeConstraint() 97 currentLocation.set(v.addLocal(targetLocation)); in distLimit() 104 currentLocation.set(v.addLocal(targetLocation)); in distLimit()
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | Bone.java | 339 worldPos.addLocal(parent.worldPos); in updateWorldVectors() 446 localPos.addLocal(translation); in setUserTransforms() 478 rotation.mult(localPos, tmpTransform.getTranslation()).addLocal(position); in getCombinedTransform() 517 localPos.set(initialPos).addLocal(translation); in setAnimTransforms() 538 tmpV.set(initialPos).addLocal(translation); in blendAnimTransforms()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
D | Distance.java | 215 case2.set(m_v1.w).mulLocal(m_v1.a).addLocal(case22); in getClosestPoint() 245 pA.set(m_v2.wA).mulLocal(m_v2.a).addLocal(case2); in getWitnessPoints() 249 pB.set(m_v2.wB).mulLocal(m_v2.a).addLocal(case2); in getWitnessPoints() 257 pA.addLocal(case3).addLocal(case33); in getWitnessPoints() 760 output.pointA.addLocal(temp); in distance() 767 output.pointA.addLocal(output.pointB).mulLocal(.5f); in distance()
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | BIHTriangle.java | 50 center.addLocal(pointb).addLocal(pointc).multLocal(FastMath.ONE_THIRD); in BIHTriangle()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Rectangle.java | 167 result.set(a.mult(aMod).addLocal(b.mult(s).addLocal(c.mult(t)))); in random()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
D | CameraControl.java | 121 spatial.setLocalTranslation(vecDiff.addLocal(spatial.getLocalTranslation())); in controlUpdate() 125 spatial.setLocalRotation(worldDiff.addLocal(spatial.getLocalRotation())); in controlUpdate()
|