Home
last modified time | relevance | path

Searched refs:addLocal (Results 1 – 25 of 76) sorted by relevance

1234

/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DAbstractBox.java80 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/
DTestPhysicsCharacter.java136 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()
DTestQ3.java129 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/
DEmitterMeshFaceShape.java66 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/
DShadowUtil.java130 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/
DTestTempVars.java89 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/
DHelloCollision.java171 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()
DHelloTerrainCollision.java216 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/jmonkeyengine/engine/src/core/com/jme3/collision/
DSweepSphere.java264 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/
DBoundingSphere.java286 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()
DBoundingBox.java138 center.set(min.addLocal(max)); in computeFromTris()
173 center.set(min.addLocal(max)); in computeFromTris()
281 box.center.addLocal(trans.getTranslation()); in transform()
524 center.set(vars.vect2).addLocal(vars.vect1).multLocal(0.5f); in merge()
735 new Vector3f(ray.direction).multLocal(distances[0]).addLocal(ray.origin), in collideWithRay()
736 new Vector3f(ray.direction).multLocal(distances[1]).addLocal(ray.origin) in collideWithRay()
746 Vector3f point = new Vector3f(ray.direction).multLocal(t[0]).addLocal(ray.origin); in collideWithRay()
944 store.set(center).addLocal(xExtent, yExtent, zExtent); in getMax()
949 this.center.set(max).addLocal(min).multLocal(0.5f); in setMinMax()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainGridSerializationTest.java162 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()
DTerrainGridTileLoaderTest.java219 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()
DTerrainGridTest.java222 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()
DTerrainGridAlphaMapTest.java311 this.walkDirection.addLocal(camLeft); in simpleUpdate()
314 this.walkDirection.addLocal(camLeft.negate()); in simpleUpdate()
317 this.walkDirection.addLocal(camDir); in simpleUpdate()
320 this.walkDirection.addLocal(camDir.negate()); in simpleUpdate()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintDistLimit.java62 translations[frame].addLocal(v); in bakeConstraint()
97 currentLocation.set(v.addLocal(targetLocation)); in distLimit()
104 currentLocation.set(v.addLocal(targetLocation)); in distLimit()
DConstraintLocLike.java115 ownerLocation.addLocal(offset); in locLike()
119 ownerLocation.addLocal(startLocation); in locLike()
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DBone.java339 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/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTriangle.java50 center.addLocal(pointb).addLocal(pointc).multLocal(FastMath.ONE_THIRD); in BIHTriangle()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRectangle.java167 result.set(a.mult(aMod).addLocal(b.mult(s).addLocal(c.mult(t)))); in random()
DCurveAndSurfaceMath.java40 store.addLocal(nurbSpline.getControlPoints().get(i) in interpolateNurbs()
77 store.addLocal(controlPoint.x * val, controlPoint.y * val, controlPoint.z * val); in interpolate()
DPlane.java150 return store.set(normal).multLocal(t).addLocal(point); in getClosestPoint()
163 store.addLocal(point); in reflect()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DCameraControl.java121 spatial.setLocalTranslation(vecDiff.addLocal(spatial.getLocalTranslation())); in controlUpdate()
125 spatial.setLocalRotation(worldDiff.addLocal(spatial.getLocalRotation())); in controlUpdate()
DLightControl.java147 spatial.setLocalTranslation(vecDiff.addLocal(spatial.getLocalTranslation())); in lightToSpatial()
154 spatial.setLocalTranslation(vecDiff.addLocal(spatial.getLocalTranslation())); in lightToSpatial()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/
DNewtonianParticleInfluencer.java50 particle.velocity.addLocal(temp); in influenceParticle()
111 particle.velocity.addLocal(temp); in applyVelocityVariation()

1234