HomeSort by relevance Sort by last modified time
    Searched refs:tmpV1 (Results 1 - 21 of 21) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
CameraInputController.java 74 private final Vector3 tmpV1 = new Vector3();
141 camera.translate(tmpV1.set(camera.direction).scl(delta * translateUnits));
142 if (forwardTarget) target.add(tmpV1);
145 camera.translate(tmpV1.set(camera.direction).scl(-delta * translateUnits));
146 if (forwardTarget) target.add(tmpV1);
179 tmpV1.set(camera.direction).crs(camera.up).y = 0f;
180 camera.rotateAround(target, tmpV1.nor(), deltaY * rotateAngle);
183 camera.translate(tmpV1.set(camera.direction).crs(camera.up).nor().scl(-deltaX * translateUnits));
185 if (translateTarget) target.add(tmpV1).add(tmpV2);
187 camera.translate(tmpV1.set(camera.direction).scl(deltaY * translateUnits));
    [all...]
DefaultRenderableSorter.java 30 private final Vector3 tmpV1 = new Vector3();
47 o1.worldTransform.getTranslation(tmpV1);
49 final float dst = (int)(1000f * camera.position.dst2(tmpV1)) - (int)(1000f * camera.position.dst2(tmpV2));
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
OcclusionCullingTest.java 153 Vector3 position = tmpV1;
238 world.addConstructor("wall", new BulletConstructor(occluderModel, 0, new btBoxShape(tmpV1.set(OCCLUDER_DIM).scl(0.5f))));
240 addOccluder("wall", 0, tmpV1.set(20, y, 0));
241 addOccluder("wall", -60, tmpV1.set(10, y, 20));
242 addOccluder("wall", 60, tmpV1.set(10, y, -20));
243 addOccluder("wall", 0, tmpV1.set(-20, y, 0));
244 addOccluder("wall", 60, tmpV1.set(-10, y, 20));
245 addOccluder("wall", -60, tmpV1.set(-10, y, -20));
251 btCollisionShape groundShape = new btBoxShape(tmpV1.set(GROUND_DIM).scl(0.5f));
268 Vector3 dim = model.calculateBoundingBox(bb).getDimensions(tmpV1);
    [all...]
PairCacheTest.java 168 pt.getPositionWorldOnB(tmpV1);
170 pt.getPositionWorldOnA(tmpV1);
173 shapeRenderer.line(tmpV1.x, tmpV1.y, tmpV1.z, tmpV2.x, tmpV2.y, tmpV2.z, otherObjectColor, Color.WHITE);
ConstraintsTest.java 57 tmpV1.set(-5, -0.5f, -0.5f), tmpV2.set(-0.5f, 0.5f, -0.5f));
66 constraint = new btPoint2PointConstraint((btRigidBody)box1.body, (btRigidBody)box2.body, tmpV1.set(0.5f, -0.5f,
72 constraint = new btPoint2PointConstraint((btRigidBody)box2.body, (btRigidBody)box1.body, tmpV1.set(0.5f, 0.5f,
78 constraint = new btPoint2PointConstraint((btRigidBody)bar.body, (btRigidBody)box1.body, tmpV1.set(5f, -0.5f, -0.5f),
BasicShapesTest.java 51 world.addConstructor("cylinder", new BulletConstructor(cylinder, 10f, new btCylinderShape(tmpV1.set(2f, 3f, 2f))));
59 world.addConstructor("box2", new BulletConstructor(box, 10f, new btBoxShape(tmpV1.set(2f, 2f, 1f))));
OcclusionCuller.java 71 return oclBuffer.queryAABB(tmpV1.set(node.getVolume().Center()), tmpV2.set(node.getVolume().Extents()));
99 final Vector3 tmpV1 = new Vector3();
RayPickRagdollTest.java 95 tmpV1.set(ray.direction).scl(10f).add(ray.origin);
96 ClosestRayResultCallback cb = new ClosestRayResultCallback(ray.origin, tmpV1);
97 world.collisionWorld.rayTest(ray.origin, tmpV1, cb);
115 pickDistance = tmpV1.sub(camera.position).len();
148 tmpV1.set(ray.direction).scl(pickDistance).add(camera.position);
149 pickConstraint.setPivotB(tmpV1);
InternalTickTest.java 42 body.applyCentralForce(tmpV1.set(0f, 8.0f + (float)(6.0 * Math.random()), 0f));
OcclusionBuffer.java 158 private final Vector3 tmpV1 = new Vector3();
260 Vector3 center = tmpV1.setZero();
356 if (((tmpV1.set(b).sub(a)).crs(tmpV2.set(c).sub(a))).z <= 0) return false;
SoftMeshTest.java 52 btAxisSweep3 broadphase = new btAxisSweep3(tmpV1.set(-1000, -1000, -1000), tmpV2.set(1000, 1000, 1000), 1024);
BaseBulletTest.java 77 protected final static Vector3 tmpV1 = new Vector3(), tmpV2 = new Vector3();
SoftBodyTest.java 62 btAxisSweep3 broadphase = new btAxisSweep3(tmpV1.set(-1000, -1000, -1000), tmpV2.set(1000, 1000, 1000), 1024);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
EllipseShapeBuilder.java 138 tmpV1.set(normalX, normalY, normalZ).crs(0, 0, 1);
140 if (tmpV2.len2() > tmpV1.len2()) tmpV1.set(tmpV2);
141 tmpV2.set(tmpV1.nor()).crs(normalX, normalY, normalZ).nor();
143 tmpV1.x, tmpV1.y, tmpV1.z, tmpV2.x, tmpV2.y, tmpV2.z, angleFrom, angleTo);
180 final Vector3 sxEx = tmpV1.set(tangentX, tangentY, tangentZ).scl(width * 0.5f);
BaseShapeBuilder.java 42 protected static final Vector3 tmpV1 = new Vector3();
BoxShapeBuilder.java 35 builder.box(box.getCorner000(tmpV0), box.getCorner010(tmpV1), box.getCorner100(tmpV2), box.getCorner110(tmpV3),
84 Vector3 nor = tmpV1.set(corner000).lerp(corner110, 0.5f).sub(tmpV2.set(corner001).lerp(corner111, 0.5f)).nor();
87 nor = tmpV1.set(corner000).lerp(corner101, 0.5f).sub(tmpV2.set(corner010).lerp(corner111, 0.5f)).nor();
90 nor = tmpV1.set(corner000).lerp(corner011, 0.5f).sub(tmpV2.set(corner100).lerp(corner111, 0.5f)).nor();
FrustumShapeBuilder.java 118 return tmpV1.set(point0).add(tmpV0);
128 tmpV1.set(point0).add(tmpV0);
130 return tmpV1.add(tmpV0);
RenderableShapeBuilder.java 149 tmpV1.set(vertices[id + normalOffset], vertices[id + normalOffset + 1], vertices[id + normalOffset + 2]);
150 tmpV2.set(tmpV0).add(tmpV1.scl(vectorSize));
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
ModelTest.java 56 private final Vector3 tmpV1 = new Vector3(), tmpV2 = new Vector3();
103 cam.position.set(1, 1, 1).nor().scl(bounds.getDimensions(tmpV1).len() * 0.75f + bounds.getCenter(tmpV2).len());
106 cam.far = 50f + bounds.getDimensions(tmpV1).len() * 2.0f;
HeightField.java 98 private final Vector3 tmpV1 = new Vector3();
217 v01.normal.set(v01.position).sub(v00.position).nor().crs(tmpV1.set(v11.position).sub(v01.position).nor());
218 v10.normal.set(v10.position).sub(v11.position).nor().crs(tmpV1.set(v00.position).sub(v10.position).nor());
236 out.position.set(corner00).lerp(corner10, dx).lerp(tmpV1.set(corner01).lerp(corner11, dx), dy);
237 out.position.add(tmpV1.set(magnitude).scl(a));
247 out.set(corner00).lerp(corner10, dx).lerp(tmpV1.set(corner01).lerp(corner11, dx), dy);
248 out.add(tmpV1.set(magnitude).scl(a));
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
DefaultShader.java 341 private final static Vector3 tmpV1 = new Vector3();
355 renderable.worldTransform.getTranslation(tmpV1);
369 cacheAmbientCubemap.add(lights.get(i).color, lights.get(i).position, tmpV1, lights.get(i).intensity);
    [all...]

Completed in 555 milliseconds