/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTexture3D.java | 12 import com.jme3.math.Vector3f; 44 Vector3f min = bb.getMin(null); 76 light.setPosition(new Vector3f(5, 5, 5)); 81 light.setPosition(new Vector3f(-5, -5, -5));
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
TestMovingParticle.java | 44 import com.jme3.math.Vector3f; 68 emit.setInitialVelocity(new Vector3f(0, .5f, 0));
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
DebugKeysAppState.java | 41 import com.jme3.math.Vector3f; 105 Vector3f loc = cam.getLocation();
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
TestAppStateLifeCycle.java | 40 import com.jme3.math.Vector3f; 60 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestDoppler.java | 39 import com.jme3.math.Vector3f; 96 ufo.setVelocity(new Vector3f(dx, 0, dz));
|
/external/jmonkeyengine/engine/src/test/jme3test/awt/ |
TestSafeCanvas.java | 5 import com.jme3.math.Vector3f; 62 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
/external/jmonkeyengine/engine/src/test/jme3test/export/ |
TestOgreConvert.java | 42 import com.jme3.math.Vector3f; 62 dl.setDirection(new Vector3f(0,-1,-1).normalizeLocal());
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloAnimation.java | 45 import com.jme3.math.Vector3f; 69 dl.setDirection(new Vector3f(-0.1f, -1f, -1).normalizeLocal());
|
HelloTerrainCollision.java | 46 import com.jme3.math.Vector3f; 69 private Vector3f walkDirection = new Vector3f(); 130 * 3.4) As LOD step scale we supply Vector3f(1,1,1). 165 player.setPhysicsLocation(new Vector3f(0, 10, 0)); 213 Vector3f camDir = cam.getDirection().clone().multLocal(0.6f); 214 Vector3f camLeft = cam.getLeft().clone().multLocal(0.4f);
|
/external/jmonkeyengine/engine/src/test/jme3test/niftygui/ |
TestNiftyToMesh.java | 37 import com.jme3.math.Vector3f; 82 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestDepthOfField.java | 34 private Vector3f lightDir = new Vector3f(-4.9236743f, -1.27054665f, 5.896916f); 58 l.setDirection(Vector3f.UNIT_Y.mult(-1)); 64 cam.setLocation(new Vector3f(-700, 100, 300)); 177 terrain.setLocalScale(new Vector3f(5, 5, 5)); 178 terrain.setLocalTranslation(new Vector3f(0, -30, 0)); 188 Vector3f origin = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2), 0.0f); 189 Vector3f direction = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2), 0.3f);
|
TestSSAO.java | 40 import com.jme3.math.Vector3f; 57 cam.setLocation(new Vector3f(68.45442f, 8.235511f, 7.9676695f));
|
TestPostFilters.java | 59 private Vector3f lightDir = new Vector3f(-1, -1, .5f).normalizeLocal(); 88 rootNode.attachChild(SkyFactory.createSky(assetManager, envMap, new Vector3f(-1, -1, -1), true)); 101 dl.setDirection(new Vector3f(1, 0, -1).normalizeLocal()); 113 Box floor = new Box(Vector3f.ZERO, 50, 1f, 50); 135 cam.setLocation(new Vector3f(-32.295086f, 54.80136f, 79.59805f));
|
/external/jmonkeyengine/engine/src/test/jme3test/scene/ |
TestSceneLoading.java | 41 import com.jme3.math.Vector3f; 88 sun.setDirection(new Vector3f(0.69077975f, -0.6277887f, -0.35875428f).normalizeLocal());
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainTestAdvanced.java | 44 import com.jme3.math.Vector3f; 193 light.setDirection((new Vector3f(-0.5f, -0.5f, -0.5f)).normalize()); 196 cam.setLocation(new Vector3f(0, 10, -10)); 197 cam.lookAtDirection(new Vector3f(0, -1.5f, -1).normalizeLocal(), Vector3f.UNIT_Y); 285 Geometry arrowX = new Geometry("arrowX", new Arrow(new Vector3f(arrowSize, 0, 0))); 287 Geometry arrowY = new Geometry("arrowY", new Arrow(new Vector3f(0, arrowSize, 0))); 289 Geometry arrowZ = new Geometry("arrowZ", new Arrow(new Vector3f(0, 0, arrowSize)));
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestTextureAtlas.java | 38 import com.jme3.math.Vector3f; 78 sun.setDirection(new Vector3f(0.69077975f, -0.6277887f, -0.35875428f).normalizeLocal());
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestEverything.java | 57 private Vector3f lightDir = new Vector3f(-1, -1, .5f).normalizeLocal(); 96 rootNode.attachChild(SkyFactory.createSky(assetManager, envMap, new Vector3f(-1,-1,-1), true)); 115 dl.setDirection(new Vector3f(1, 0, -1).normalizeLocal()); 130 Box floor = new Box(Vector3f.ZERO, 50, 1f, 50); 145 // Mesh m = map.createMesh(new Vector3f(0.35f, 0.0005f, 0.35f), new Vector2f(10, 10), true); 184 cam.setLocation(new Vector3f(-32.295086f, 54.80136f, 79.59805f));
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestWalkingChar.java | 59 import com.jme3.math.Vector3f; 91 Vector3f walkDirection = new Vector3f(); 174 brick = new Box(Vector3f.ZERO, bLength, bHeight, bWidth); 178 Vector3f vt = new Vector3f(i * bLength * 2 + startpt, bHeight + height, zOff); 186 private void addBrick(Vector3f ori) { 215 effect.setShape(new EmitterSphereShape(Vector3f.ZERO, 1f)); 220 effect.setInitialVelocity(new Vector3f(0, 7, 0)); 232 Vector3f direction = new Vector3f(-0.1f, -0.7f, -1).normalizeLocal() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHNode.java | 42 import com.jme3.math.Vector3f; 246 Vector3f v1 = vars.vect1, 284 Vector3f contactPoint = new Vector3f(r.direction).multLocal(tHit).addLocal(r.origin); 309 Vector3f o = vars.vect1.set(r.getOrigin()); 310 Vector3f d = vars.vect2.set(r.getDirection()); 330 Vector3f v1 = vars.vect3, 412 Vector3f contactNormal = Triangle.computeTriangleNormal(v1, v2, v3, null); 413 Vector3f contactPoint = new Vector3f(d).multLocal(t).addLocal(o) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
TestPostWater.java | 16 import com.jme3.math.Vector3f; 45 private Vector3f lightDir = new Vector3f(-4.9236743f, -1.27054665f, 5.896916f); 75 l.setDirection(Vector3f.UNIT_Y.mult(-1)); 81 //cam.setLocation(new Vector3f(-700, 100, 300)); 82 //cam.setRotation(new Quaternion().fromAngleAxis(0.5f, Vector3f.UNIT_Z)); 83 cam.setLocation(new Vector3f(-327.21957f, 61.6459f, 126.884346f)); 129 water.setFoamExistence(new Vector3f(1f, 4, 0.5f)); 178 box = new Geometry("box", new Box(new Vector3f(0, 0, 0), 50, 50, 50)); 213 fire.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 2, 0)) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVCoordinatesGenerator.java | 38 import com.jme3.math.Vector3f; 167 Vector3f min = bb.getMin(null); 282 Vector3f center = new Vector3f(); 335 private Vector3f center; 346 public BoundingTube(float radius, float height, Vector3f center) { 374 Vector3f distance = tube2.center.subtract(tube1.center); 375 Vector3f center = tube1.center.add(distance.mult(0.5f)); 404 public Vector3f getCenter() {
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
ParticleTriMesh.java | 37 import com.jme3.math.Vector3f; 169 Vector3f camUp = cam.getUp(); 170 Vector3f camLeft = cam.getLeft(); 171 Vector3f camDir = cam.getDirection(); 179 Vector3f up = new Vector3f(), 180 left = new Vector3f(); 191 Vector3f faceNormal = emitter.getFaceNormal(); 210 up.set(faceNormal).crossLocal(Vector3f.UNIT_X);
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
PssmShadowRenderer.java | 36 import com.jme3.math.Vector3f; 134 private Vector3f direction = new Vector3f(); 141 private Vector3f[] points = new Vector3f[8]; 209 points[i] = new Vector3f(); 276 private Geometry createFrustum(Vector3f[] pts, int i) { 319 public Vector3f getDirection() { 327 public void setDirection(Vector3f direction) {
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
KinematicRagdollControl.java | 54 import com.jme3.math.Vector3f; 107 protected Vector3f initScale; 116 protected Vector3f modelPosition = new Vector3f(); 135 protected Vector3f startBlendingPos = new Vector3f(); 170 Vector3f position = vars.vect1; 173 Vector3f p = link.rigidBody.getMotionState().getWorldLocation(); 219 Vector3f position = vars.vect1; 224 Vector3f position2 = vars.vect2 [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Torus.java | 41 import com.jme3.math.Vector3f; 134 Vector3f radialAxis = new Vector3f(), torusMiddle = new Vector3f(), tempNormal = new Vector3f();
|