Home
last modified time | relevance | path

Searched refs:multLocal (Results 1 – 25 of 96) sorted by relevance

1234

/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DSweepSphere.java200 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/
DShadowUtil.java130 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/
DParticleTriMesh.java173 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/
DBone.java338 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/
DPhysicsHoverControl.java132 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()
DTestRagdollCharacter.java219 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()
DTestQ3.java82 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/
DConstraintDistLimit.java96 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/
DBoundingSphere.java286 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()
DBoundingBox.java139 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/
DTestCameraNode.java117 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/
DEmitterMeshConvexHullShape.java43 store.multLocal(FastMath.nextRandomFloat()); in getRandomPoint()
61 store.multLocal(FastMath.nextRandomFloat()); in getRandomPointAndNormal()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DTransform.java195 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()
DPlane.java150 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/
DNewtonianParticleInfluencer.java38 particle.velocity.multLocal(normalVelocity); in influenceParticle()
45 temp = m.multLocal(temp); in influenceParticle()
48 particle.velocity.multLocal(normalVelocity); in influenceParticle()
DDefaultParticleInfluencer.java42 temp.multLocal(2f); in applyVelocityVariation()
44 temp.multLocal(startVelocity.length()); in applyVelocityVariation()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java239 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/
DTestLightScattering.java86 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/
DArrow.java87 vec.multLocal(len); in Arrow()
129 vec.multLocal(len); in setArrowExtent()
/external/jmonkeyengine/engine/src/test/jme3test/water/
DTestSceneWater.java88 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/
DLightControl.java129 …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/
DLODGeomap.java944 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/
DGeometry.java357 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/
DVehicleControl.java214 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/
DHelloCollision.java168 Vector3f camDir = cam.getDirection().clone().multLocal(0.6f); in simpleUpdate()
169 Vector3f camLeft = cam.getLeft().clone().multLocal(0.4f); in simpleUpdate()

1234