/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
D | SweepSphere.java | 200 scaledTri.get1().set(tri.get1()).multLocal(invDim); in collideWithTriangle() 201 scaledTri.get2().set(tri.get2()).multLocal(invDim); in collideWithTriangle() 202 scaledTri.get3().set(tri.get3()).multLocal(invDim); in collideWithTriangle() 263 contactPoint.multLocal(t0); in collideWithTriangle() 274 contactPoint.multLocal(dimension); in collideWithTriangle() 275 contactNormal.set(velocity).multLocal(t0); in collideWithTriangle() 343 contactPoint.multLocal(dimension); in collideWithTriangle() 344 contactNormal.set(velocity).multLocal(t0); in collideWithTriangle() 379 temp1.set(velocity).multLocal(t).addLocal(center); in collideWithSweepSphere() 380 temp2.set(other.velocity).multLocal(t).addLocal(other.center); in collideWithSweepSphere() [all …]
|
/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() 135 Vector3f nearUp = temp.set(up).multLocal(near_height).clone(); in updateFrustumPoints() 136 Vector3f farUp = temp.set(up).multLocal(far_height).clone(); in updateFrustumPoints() 137 Vector3f nearRight = temp.set(right).multLocal(near_width).clone(); in updateFrustumPoints() 138 Vector3f farRight = temp.set(right).multLocal(far_width).clone(); in updateFrustumPoints() 161 cDir.multLocal(scale - 1.0f); in updateFrustumPoints() 236 Vector3f center = min.add(max).multLocal(0.5f); in computeBoundForPoints() 237 Vector3f extent = max.subtract(min).multLocal(0.5f); in computeBoundForPoints() 264 Vector3f center = min.add(max).multLocal(0.5f); in computeBoundForPoints() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticleTriMesh.java | 173 inverseRotation.multLocal(camUp); in updateParticleData() 174 inverseRotation.multLocal(camLeft); in updateParticleData() 175 inverseRotation.multLocal(camDir); in updateParticleData() 207 up.multLocal(p.size); in updateParticleData() 208 left.multLocal(p.size); in updateParticleData() 212 up.multLocal(p.size); in updateParticleData() 213 left.multLocal(p.size); in updateParticleData() 228 up.multLocal(p.size); in updateParticleData() 229 left.multLocal(p.size); in updateParticleData()
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | Bone.java | 338 worldPos.multLocal(parent.worldScale); in updateWorldVectors() 448 localScale.multLocal(scale); in setUserTransforms() 479 tmpTransform.setRotation(rotation).getRotation().multLocal(localRot); in getCombinedTransform() 518 localRot.set(initialRot).multLocal(rotation); in setAnimTransforms() 521 localScale.set(initialScale).multLocal(scale); in setAnimTransforms() 542 tmpQ.set(initialRot).multLocal(rotation); in blendAnimTransforms() 547 tmpV2.set(initialScale).multLocal(scale); in blendAnimTransforms()
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | PhysicsHoverControl.java | 132 Vector3f dir = getForwardVector(tempVect2).multLocal(1, 0, 1).normalizeLocal(); in prePhysicsTick() 134 Vector3f linearVelocity = tempVect3.multLocal(1, 0, 1); in prePhysicsTick() 154 … Vector3f counter = dir.project(linearVelocity).normalizeLocal().negateLocal().multLocal(1 - d); in prePhysicsTick() 155 applyForce(counter.multLocal(mass * 10), Vector3f.ZERO); in prePhysicsTick() 158 applyForce(dir.multLocal(accelerationValue), Vector3f.ZERO); in prePhysicsTick()
|
D | TestRagdollCharacter.java | 219 model.move(model.getLocalRotation().multLocal(new Vector3f(0,0,1)).multLocal(tpf)); in simpleUpdate() 221 model.move(model.getLocalRotation().multLocal(new Vector3f(0,0,1)).multLocal(-tpf)); in simpleUpdate()
|
D | TestQ3.java | 82 dl.setColor(ColorRGBA.White.clone().multLocal(2)); in simpleInitApp() 125 Vector3f camDir = cam.getDirection().clone().multLocal(0.6f); in simpleUpdate() 126 Vector3f camLeft = cam.getLeft().clone().multLocal(0.4f); in simpleUpdate()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
D | ConstraintDistLimit.java | 96 v.multLocal(dist + (currentDistance - dist) * (1.0f - influence)); in distLimit() 103 v.multLocal(dist + (currentDistance - dist) * (1.0f - influence)); in distLimit() 106 v.normalizeLocal().multLocal(dist * influence); in distLimit() 112 v = targetLocation.subtract(currentLocation).normalizeLocal().multLocal(dist * influence); in distLimit()
|
/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() 288 b.cross(c).multLocal(a.lengthSquared())).divideLocal( in setSphere() 320 …Vector3f o = acrossB.cross(a).multLocal(b.lengthSquared()).addLocal(b.cross(acrossB).multLocal(a.l… in setSphere() 359 center.multLocal(quantity); in averagePoints() 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()
|
D | BoundingBox.java | 139 center.multLocal(0.5f); in computeFromTris() 174 center.multLocal(0.5f); in computeFromTris() 254 center.multLocal(0.5f); in containAABB() 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() 949 this.center.set(max).addLocal(min).multLocal(0.5f); in setMinMax()
|
/external/jmonkeyengine/engine/src/test/jme3test/input/ |
D | TestCameraNode.java | 117 direction.multLocal(5 * tpf); in onAnalog() 121 direction.multLocal(-5 * tpf); in onAnalog() 125 direction.crossLocal(Vector3f.UNIT_Y).multLocal(5 * tpf); in onAnalog() 129 direction.crossLocal(Vector3f.UNIT_Y).multLocal(-5 * tpf); in onAnalog()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterMeshConvexHullShape.java | 43 store.multLocal(FastMath.nextRandomFloat()); in getRandomPoint() 61 store.multLocal(FastMath.nextRandomFloat()); in getRandomPointAndNormal()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Transform.java | 195 scale.multLocal(parent.scale); in combineWithParent() 206 translation.multLocal(parent.scale); in combineWithParent() 209 .multLocal(translation) in combineWithParent() 244 return rot.mult(store.set(in).multLocal(scale), store).addLocal(translation); in transformVector()
|
D | Plane.java | 150 return store.set(normal).multLocal(t).addLocal(point); in getClosestPoint() 162 store.set(normal).negateLocal().multLocal(d * 2f); in reflect()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
D | NewtonianParticleInfluencer.java | 38 particle.velocity.multLocal(normalVelocity); in influenceParticle() 45 temp = m.multLocal(temp); in influenceParticle() 48 particle.velocity.multLocal(normalVelocity); in influenceParticle()
|
D | DefaultParticleInfluencer.java | 42 temp.multLocal(2f); in applyVelocityVariation() 44 temp.multLocal(startVelocity.length()); in applyVelocityVariation()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | FloatToFixed.java | 239 temp.multLocal(127).addLocal(0.5f, 0.5f, 0.5f); in convertNormals() 290 size.multLocal(2); in convertPositions() 311 offset.multLocal(scale); in convertPositions() 326 temp.multLocal(scale); in convertPositions() 344 transform.setTranslation(offset.negate().multLocal(invScale)); in convertPositions()
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestLightScattering.java | 86 sun.setColor(ColorRGBA.White.clone().multLocal(2)); in simpleInitApp() 105 Vector3f lightPos = lightDir.multLocal(-3000); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | Arrow.java | 87 vec.multLocal(len); in Arrow() 129 vec.multLocal(len); in setArrowExtent()
|
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
D | TestSceneWater.java | 88 sun.setColor(ColorRGBA.White.clone().multLocal(2)); in simpleInitApp() 97 Vector3f lightPos=lightDir.multLocal(-400); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
D | LightControl.java | 129 …ectionalLight) light).setDirection(vars.vect1.set(spatial.getWorldTranslation()).multLocal(-1.0f)); in spatialTolight() 152 vars.vect1.set(dLight.getDirection()).multLocal(-1.0f); in lightToSpatial()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | LODGeomap.java | 944 tri.get1().multLocal(scale).addLocal(translation); in getTriangleAtPoint() 945 tri.get2().multLocal(scale).addLocal(translation); in getTriangleAtPoint() 946 tri.get3().multLocal(scale).addLocal(translation); in getTriangleAtPoint() 964 tris[0].get1().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint() 965 tris[0].get2().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint() 966 tris[0].get3().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint() 967 tris[1].get1().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint() 968 tris[1].get2().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint() 969 tris[1].get3().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Geometry.java | 357 cachedOffsetMat.multLocal(scaleMat); in computeOffsetTransform() 365 tmpMat.multLocal(scaleMat); in computeOffsetTransform() 399 cachedWorldMat.multLocal(scaleMat); in computeWorldMatrix()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
D | VehicleControl.java | 214 axleArrow.setArrowExtent(axle.normalizeLocal().multLocal(0.3f)); in render() 216 wheelArrow.setArrowExtent(direction.normalizeLocal().multLocal(radius)); in render() 218 dirArrow.setArrowExtent(direction.normalizeLocal().multLocal(restLength)); in render()
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloCollision.java | 168 Vector3f camDir = cam.getDirection().clone().multLocal(0.6f); in simpleUpdate() 169 Vector3f camLeft = cam.getLeft().clone().multLocal(0.4f); in simpleUpdate()
|