/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestSoftParticles.java | 17 import com.jme3.math.Vector3f; 41 cam.setLocation(new Vector3f(-7.2221026f, 4.1183004f, 7.759811f)); 48 Box b = new Box(Vector3f.ZERO, 10, 0.1f, 10); 56 Box b2 = new Box(Vector3f.ZERO, 1, 1, 1); 79 fire.setShape(new EmitterSphereShape(Vector3f.ZERO, 0.1f)); 96 smoke.setShape(new EmitterSphereShape(Vector3f.ZERO, 5));
|
TestParticleExportingCloning.java | 42 import com.jme3.math.Vector3f; 56 emit.setShape(new EmitterSphereShape(Vector3f.ZERO, 1f)); 60 emit.setInitialVelocity(new Vector3f(0, 0, 0));
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestTangentGen.java | 40 import com.jme3.math.Vector3f; 71 addMesh("Sphere", sphereMesh, new Vector3f(-1, 0, 0)); 75 addMesh("Quad", quadMesh, new Vector3f(1, 0, 0)); 78 addMesh("strip", strip, new Vector3f(0, -3, 0)); 81 dl.setDirection(new Vector3f(1, -1, -1).normalizeLocal()); 86 private void addMesh(String name, Mesh mesh, Vector3f translation) {
|
TestEnvironmentMapping.java | 7 import com.jme3.math.Vector3f; 40 m.setVector3("FresnelParams", new Vector3f(0.05f, 0.18f, 0.11f)); 47 chaseCam.setLookAtOffset(new Vector3f(0,0.5f,-1.0f));
|
TestLightRadius.java | 41 import com.jme3.math.Vector3f; 89 dl.setDirection(new Vector3f(0, 1, 0)); 95 // cam.setLocation(new Vector3f(5.0347548f, 6.6481347f, 3.74853f)); 105 pl.setPosition(new Vector3f(pos, 2, 0));
|
TestSimpleLighting.java | 41 import com.jme3.math.Vector3f; 95 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); 102 // cam.setLocation(new Vector3f(2.0632997f, 1.9493936f, 2.6885238f)); 108 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainFractalGridTest.java | 8 import com.jme3.math.Vector3f; 54 // regionX: a Vector3f containing the following information: 66 this.mat_terrain.setVector3("region1", new Vector3f(15, 200, this.grassScale)); 72 this.mat_terrain.setVector3("region2", new Vector3f(0, 20, this.dirtScale)); 78 this.mat_terrain.setVector3("region3", new Vector3f(198, 260, this.rockScale)); 81 this.mat_terrain.setVector3("region4", new Vector3f(198, 260, this.rockScale)); 137 this.getCamera().setLocation(new Vector3f(0, 300, 0));
|
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
TestSimpleWater.java | 40 import com.jme3.math.Vector3f; 61 private Vector3f lightPos = new Vector3f(33,12,-29); 94 cam.setLocation(new Vector3f(0, 10, 10)); 95 cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/ |
RagdollUtils.java | 13 import com.jme3.math.Vector3f; 104 public static HullCollisionShape makeShapeFromPointMap(Map<Integer, List<Float>> pointsMap, List<Integer> boneIndices, Vector3f initialScale, Vector3f initialPosition) { 112 Vector3f pos = new Vector3f(); 156 public static HullCollisionShape makeShapeFromVerticeWeights(Spatial model, List<Integer> boneIndices, Vector3f initialScale, Vector3f initialPosition, float weightThreshold) { 193 private static List<Float> getPoints(Mesh mesh, int boneIndex, Vector3f initialScale, Vector3f offset, float weightThreshold) { 219 Vector3f pos = new Vector3f() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/ui/ |
Picture.java | 40 import com.jme3.math.Vector3f; 99 setLocalScale(new Vector3f(width, height, 1f)); 111 setLocalScale(new Vector3f(width, height, 1f));
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/ |
SAXUtil.java | 36 import com.jme3.math.Vector3f; 126 public static Vector3f parseVector3(Attributes attribs) throws SAXException{ 130 return new Vector3f(x,y,z);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/ |
Point2PointJoint.java | 41 import com.jme3.math.Vector3f; 60 public Point2PointJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB) {
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
FractalTileLoader.java | 11 import com.jme3.math.Vector3f; 52 private HeightMap getHeightMapAt(Vector3f location) { 66 public TerrainQuad getTerrainQuadAt(Vector3f location) {
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestAmbient.java | 36 import com.jme3.math.Vector3f; 60 waves.setLocalTranslation(new Vector3f(0, 0,0)); 71 Box box1 = new Box(Vector3f.ZERO, .5f, .5f, .5f);
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestFancyCar.java | 48 import com.jme3.math.Vector3f; 93 bsr.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal()); 105 dl.setDirection(new Vector3f(-0.5f, -1f, -0.3f).normalizeLocal()); 109 dl.setDirection(new Vector3f(0.5f, -0.1f, 0.3f).normalizeLocal()); 123 // Box floor = new Box(Vector3f.ZERO, 140, 1f, 140); 130 // tb.setLocalTranslation(new Vector3f(0f, -6, 0f)); 181 Vector3f wheelDirection = new Vector3f(0, -1, 0); 182 Vector3f wheelAxle = new Vector3f(-1, 0, 0) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloAssets.java | 39 import com.jme3.math.Vector3f; 63 Box box = new Box(Vector3f.ZERO, 2.5f,2.5f,1.0f); 88 sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f).normalizeLocal());
|
HelloAudio.java | 9 import com.jme3.math.Vector3f; 30 Box box1 = new Box(Vector3f.ZERO, 1, 1, 1); 55 audio_nature.setLocalTranslation(Vector3f.ZERO.clone());
|
HelloEffects.java | 40 import com.jme3.math.Vector3f; 63 fire.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 2, 0)); 83 debris.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 4, 0)); 101 // water.getParticleInfluencer().setInitialVelocity(new Vector3f(0, -4, 0));
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestNormalMapping.java | 40 import com.jme3.math.Vector3f; 75 pl.setPosition(new Vector3f(0f, 0f, 4f)); 79 // dl.setDirection(new Vector3f(1,-1,1).normalizeLocal()); 89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
TestSimpleBumps.java | 40 import com.jme3.math.Vector3f; 75 pl.setPosition(new Vector3f(0f, 0f, 4f)); 79 // dl.setDirection(new Vector3f(1, -1, -1).normalizeLocal()); 89 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestBlenderAnim.java | 42 import com.jme3.math.Vector3f;
59 cam.setLocation(new Vector3f(6.4013605f, 7.488437f, 12.843031f));
63 dl.setDirection(new Vector3f(-0.1f, -0.7f, -1).normalizeLocal());
|
TestBlenderObjectAnim.java | 42 import com.jme3.math.Vector3f;
59 cam.setLocation(new Vector3f(6.4013605f, 7.488437f, 12.843031f));
63 dl.setDirection(new Vector3f(-0.1f, -0.7f, -1).normalizeLocal());
|
/external/jmonkeyengine/engine/src/test/jme3test/stress/ |
TestBatchLod.java | 38 import com.jme3.math.Vector3f; 57 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); 85 cam.setLocation(new Vector3f(-1.0748308f, 1.35778f, -1.5380064f));
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
TestNormalMapping.java | 42 import com.jme3.math.Vector3f; 77 pl.setPosition(new Vector3f(0f, 0f, 4f)); 85 dl.setDirection(new Vector3f(1,-1,-1).normalizeLocal()); 95 pl.setPosition(new Vector3f(FastMath.cos(angle) * 4f, 0.5f, FastMath.sin(angle) * 4f));
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
HullCollisionShape.java | 14 import javax.vecmath.Vector3f; 58 ObjectArrayList<Vector3f> pointList = new ObjectArrayList<Vector3f>(); 60 pointList.add(new Vector3f(points[i], points[i + 1], points[i + 2]));
|