HomeSort by relevance Sort by last modified time
    Searched refs:Vector3f (Results 176 - 200 of 418) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloLoop.java 38 import com.jme3.math.Vector3f;
57 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
HelloNode.java 38 import com.jme3.math.Vector3f;
57 Box box1 = new Box( new Vector3f(1,-1,1), 1,1,1);
65 Box box2 = new Box( new Vector3f(1,3,1), 1,1,1);
  /external/jmonkeyengine/engine/src/test/jme3test/input/
TestCameraNode.java 38 import com.jme3.math.Vector3f;
56 Vector3f direction = new Vector3f();
79 ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
91 camNode.setLocalTranslation(new Vector3f(-10, 0, 0));
93 camNode.lookAt(teaNode.getLocalTranslation(), Vector3f.UNIT_Y);
125 direction.crossLocal(Vector3f.UNIT_Y).multLocal(5 * tpf);
129 direction.crossLocal(Vector3f.UNIT_Y).multLocal(-5 * tpf);
  /external/jmonkeyengine/engine/src/test/jme3test/model/shape/
TestBox.java 37 import com.jme3.math.Vector3f;
50 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
  /external/eigen/doc/snippets/
JacobiSVD_basic.cpp 7 Vector3f rhs(1, 0, 0);
  /external/jmonkeyengine/engine/src/test/jme3test/effect/
TestPointSprite.java 44 import com.jme3.math.Vector3f;
56 emit.setShape(new EmitterBoxShape(new Vector3f(-1.8f, -1.8f, -1.8f),
57 new Vector3f(1.8f, 1.8f, 1.8f)));
61 emit.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 0, 0));
  /external/jmonkeyengine/engine/src/test/jme3test/stress/
TestLeakingGL.java 37 import com.jme3.math.Vector3f;
70 cam.setLocation(new Vector3f(0, 5, 0));
71 cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);
TestLodStress.java 39 import com.jme3.math.Vector3f;
55 dl.setDirection(new Vector3f(-1,-1,-1).normalizeLocal());
86 cam.setLocation(new Vector3f(8.378951f, 5.4324f, 8.795956f));
  /external/eigen/demos/opengl/
trackball.cpp 19 Vector3f newPoint3D;
24 Vector3f axis = mLastPoint3D.cross(newPoint3D).normalized();
40 bool Trackball::mapToSphere(const Vector2i& p2, Vector3f& v3)
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
BillboardControl.java 42 import com.jme3.math.Vector3f;
53 private Vector3f look;
54 private Vector3f left;
85 look = new Vector3f();
86 left = new Vector3f();
128 rotateAxial(cam, Vector3f.UNIT_Y);
131 rotateAxial(cam, Vector3f.UNIT_Z);
152 Vector3f xzp = left;
157 if (xzp.equals(Vector3f.ZERO)) {
211 private void rotateAxial(Camera camera, Vector3f axis)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
WireFrustum.java 35 import com.jme3.math.Vector3f;
44 public WireFrustum(Vector3f[] points){
69 public void update(Vector3f[] points){
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
PQTorus.java 41 import com.jme3.math.Vector3f;
139 Vector3f[] torusPoints = new Vector3f[steps];
148 Vector3f pointB = new Vector3f(), T = new Vector3f(), N = new Vector3f(), B = new Vector3f();
149 Vector3f tempNorm = new Vector3f();
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/audio/
TestReverb.java 35 import com.jme3.math.Vector3f;
66 Vector3f v = new Vector3f();
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestRagdollCharacter.java 51 import com.jme3.math.Vector3f;
89 cam.setLocation(new Vector3f(-8,0,-4));
90 cam.lookAt(new Vector3f(4,0,-7), Vector3f.UNIT_Y);
93 model.lookAt(new Vector3f(0,0,-1), Vector3f.UNIT_Y);
114 dl.setDirection(new Vector3f(-0.1f, -0.7f, -1).normalizeLocal());
142 Box brick = new Box(Vector3f.ZERO, bLength, bHeight, bWidth);
154 Vector3f ori = new Vector3f(i * bLength * 2 + startpt, bHeight + height, -10)
    [all...]
TestBrickWall.java 49 import com.jme3.math.Vector3f;
93 brick = new Box(Vector3f.ZERO, bLength, bHeight, bWidth);
100 this.cam.setLocation(new Vector3f(0, 6f, 6f));
101 cam.lookAt(Vector3f.ZERO, new Vector3f(0, 1, 0));
110 bsr.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
145 Vector3f vt = new Vector3f(i * bLength * 2 + startpt, bHeight + height, 0);
154 Box floorBox = new Box(Vector3f.ZERO, 10f, 0.1f, 5f);
161 floor.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(10f, 0.1f, 5f)), 0));
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/animation/
TestCinematic.java 51 import com.jme3.math.Vector3f;
112 factory.addTimeTranslation(0, new Vector3f(10, 0, 10));
113 factory.addTimeTranslation(20, new Vector3f(10, 0, -10));
114 factory.addTimeScale(10, new Vector3f(4, 4, 4));
115 factory.addTimeScale(20, new Vector3f(1, 1, 1));
186 camNode.setLocalTranslation(new Vector3f(0, 50, 0));
187 camNode.lookAt(teapot.getLocalTranslation(), Vector3f.UNIT_Y);
192 path.addWayPoint(new Vector3f(20, 3, 0));
193 path.addWayPoint(new Vector3f(0, 3, 20));
194 path.addWayPoint(new Vector3f(-20, 3, 0));
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
BlenderTrack.java 13 import com.jme3.math.Vector3f;
68 public Vector3f[] getScales() {
88 public Vector3f[] getTranslations() {
107 public void setKeyframes(float[] times, Vector3f[] translations,
108 Quaternion[] rotations, Vector3f[] scales) {
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVProjectionGenerator.java 7 import com.jme3.math.Vector3f;
32 Vector3f min = bb.getMin(null);
55 Vector3f x = new Vector3f(1, 0, 0);
56 Vector3f y = new Vector3f(0, 1, 0);
57 Vector3f z = new Vector3f(0, 0, 1);
58 Vector3f min = bb.getMin(null);
65 Vector3f n = triangle.getNormal()
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/
Point2PointJoint.java 39 import com.jme3.math.Vector3f;
60 public Point2PointJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB) {
125 private native long createJoint(long objectIdA, long objectIdB, Vector3f pivotA, Vector3f pivotB);
  /external/jmonkeyengine/engine/src/test/jme3test/material/
TestBumpModel.java 41 import com.jme3.math.Vector3f;
77 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal());
83 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal());
89 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal());
99 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
  /external/jmonkeyengine/engine/src/test/jme3test/model/
TestHoverTank.java 39 import com.jme3.math.Vector3f;
74 Vector3f lightDir = new Vector3f(-0.8719428f, -0.46824604f, 0.14304268f);
79 Vector3f lightDir2 = new Vector3f(0.70518064f, 0.5902297f, -0.39287305f);
TestMonkeyHead.java 40 import com.jme3.math.Vector3f;
74 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal());
80 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal());
86 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal());
96 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestLightScattering.java 42 import com.jme3.math.Vector3f;
64 cam.setLocation(new Vector3f(55.35316f, -0.27061665f, 27.092093f));
66 // cam.setDirection(new Vector3f(0,-0.5f,1.0f));
67 // cam.setLocation(new Vector3f(0, 300, -500));
84 Vector3f lightDir = new Vector3f(-0.12f, -0.3729129f, 0.74847335f);
105 Vector3f lightPos = lightDir.multLocal(-3000);
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestCollision.java 54 import com.jme3.math.Vector3f;
142 terrain.setLocalScale(new Vector3f(2, 2, 2));
163 sphere.setLocalTranslation(new Vector3f(x, 100 + y, z));
171 collisionBox.setLocalTranslation(new Vector3f(20, 95, 30));
177 dl.setDirection(new Vector3f(1, -0.5f, -0.1f).normalizeLocal());
181 cam.setLocation(new Vector3f(0, 25, -10));
182 cam.lookAtDirection(new Vector3f(0, -1, 0).normalizeLocal(), Vector3f.UNIT_Y);
253 Vector3f origin = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2), 0.0f);
254 Vector3f direction = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2 (…)
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/water/
TestPostWaterLake.java 41 import com.jme3.math.Vector3f;
61 cam.setLocation(new Vector3f(-27.0f, 1.0f, 75.0f));
83 Vector3f lightDir = new Vector3f(-0.37352666f, -0.50444174f, -0.7784704f);
103 water.setColorExtinction(new Vector3f(10.0f, 20.0f, 30.0f));

Completed in 343 milliseconds

1 2 3 4 5 6 78 91011>>