Home
last modified time | relevance | path

Searched refs:tmpVec (Results 1 – 6 of 6) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DCamera.java61 private final Vector3 tmpVec = new Vector3(); field in Camera
77 tmpVec.set(x, y, z).sub(position).nor(); in lookAt()
78 if (!tmpVec.isZero()) { in lookAt()
79 float dot = tmpVec.dot(up); // up and direction must ALWAYS be orthonormal vectors in lookAt()
87 direction.set(tmpVec); in lookAt()
101 tmpVec.set(direction).crs(up).nor(); in normalizeUp()
102 up.set(tmpVec).crs(direction).nor(); in normalizeUp()
152 tmpVec.set(point); in rotateAround()
153 tmpVec.sub(position); in rotateAround()
154 translate(tmpVec); in rotateAround()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DLevenbergMarquardtOptimizer.java350 double[] tmpVec = residuals; in doOptimize() local
352 oldRes = tmpVec; in doOptimize()
353 tmpVec = objective; in doOptimize()
355 oldObj = tmpVec; in doOptimize()
448 tmpVec = residuals; in doOptimize()
450 oldRes = tmpVec; in doOptimize()
451 tmpVec = objective; in doOptimize()
453 oldObj = tmpVec; in doOptimize()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java748 Vector4f tmpVec = vars.vect4f; in renderMultipassLighting() local
788 tmpVec.set(dir2.getX(), dir2.getY(), dir2.getZ(),0); in renderMultipassLighting()
789 rm.getCurrentCamera().getViewMatrix().mult(tmpVec, tmpVec); in renderMultipassLighting()
790 … tmpLightDirection.set(tmpVec.getX(), tmpVec.getY(), tmpVec.getZ(), spotAngleCos); in renderMultipassLighting()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMatrix4.java855 static final Vector3 tmpVec = new Vector3(); field in Matrix4
865 tmpVec.set(target).sub(position); in setToLookAt()
866 setToLookAt(tmpVec, up); in setToLookAt()
907 getScale(tmpVec); in avg()
916 setToScaling(tmpVec.scl(w).add(tmpForward.scl(1 - w))); in avg()
930 tmpVec.set(t[0].getScale(tmpUp).scl(w)); in avg()
935 tmpVec.add(t[i].getScale(tmpUp).scl(w)); in avg()
941 setToScaling(tmpVec); in avg()
955 tmpVec.set(t[0].getScale(tmpUp).scl(w[0])); in avg()
960 tmpVec.add(t[i].getScale(tmpUp).scl(w[i])); in avg()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DLevenbergMarquardtEstimator.java349 double[] tmpVec = residuals; in estimate() local
351 oldRes = tmpVec; in estimate()
438 tmpVec = residuals; in estimate()
440 oldRes = tmpVec; in estimate()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
DMatrix4.java933 static final Vector3 tmpVec = new Vector3(); field in Matrix4
943 tmpVec.set(target).sub(position); in setToLookAt()
944 setToLookAt(tmpVec, up); in setToLookAt()
986 getScale(tmpVec); in avg()
995 setToScaling(tmpVec.scl(w).add(tmpForward.scl(1 - w))); in avg()
1011 tmpVec.set(t[0].getScale(tmpUp).scl(w)); in avg()
1016 tmpVec.add(t[i].getScale(tmpUp).scl(w)); in avg()
1022 setToScaling(tmpVec); in avg()
1038 tmpVec.set(t[0].getScale(tmpUp).scl(w[0])); in avg()
1043 tmpVec.add(t[i].getScale(tmpUp).scl(w[i])); in avg()
[all …]