/external/jmonkeyengine/engine/src/android/jme3test/android/ |
TestBumpModel.java | 42 import com.jme3.math.Vector3f; 81 dl.setDirection(new Vector3f(1,-1,-1).normalizeLocal()); 91 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
|
SimpleTexturedTest.java | 16 import com.jme3.math.Vector3f; 49 shapeBox = new Box(Vector3f.ZERO, 0.3f, 0.3f, 0.3f); 124 spheresContainer.setLocalTranslation(new Vector3f(0, 0, -4f)); 133 pointLight.setPosition(new Vector3f(0f, 0f, 0f));
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
MeshCollisionShape.java | 42 import com.jme3.math.Vector3f; 65 createCollisionMesh(mesh, new Vector3f(1, 1, 1)); 68 private void createCollisionMesh(Mesh mesh, Vector3f worldScale) {
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
AssetTileLoader.java | 12 import com.jme3.math.Vector3f; 41 public TerrainQuad getTerrainQuadAt(Vector3f location) { 75 private TerrainQuad createNewQuad(Vector3f location) {
|
ImageTileLoader.java | 12 import com.jme3.math.Vector3f; 78 private HeightMap getHeightMapAt(Vector3f location) { 132 public TerrainQuad getTerrainQuadAt(Vector3f location) {
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
RayTrace.java | 38 import com.jme3.math.Vector3f; 83 Vector3f pos = cam.getWorldCoordinates(v, 0.0f); 84 Vector3f dir = cam.getWorldCoordinates(v, 0.3f);
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestLightNode.java | 41 import com.jme3.math.Vector3f; 96 dl.setDirection(new Vector3f(0, 1, 0)); 102 // cam.setLocation(new Vector3f(5.0347548f, 6.6481347f, 3.74853f)); 108 movingNode.setLocalTranslation(new Vector3f(FastMath.cos(angle) * 3f, 2, FastMath.sin(angle) * 3f));
|
TestTangentGenBadUV.java | 41 import com.jme3.math.Vector3f; 85 dl.setDirection(new Vector3f(1,-1,-1).normalizeLocal()); 105 pl.setPosition(new Vector3f(FastMath.cos(angle) * 2f, 0.5f, FastMath.sin(angle) * 2f));
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestOgreAnim.java | 43 import com.jme3.math.Vector3f; 63 cam.setLocation(new Vector3f(6.4013605f, 7.488437f, 12.843031f)); 67 dl.setDirection(new Vector3f(-0.1f, -0.7f, -1).normalizeLocal());
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestBillboard.java | 38 import com.jme3.math.Vector3f; 67 Box b = new Box(new Vector3f(0, 0, 3), .25f, .5f, .25f); 86 n2.setLocalTranslation(Vector3f.UNIT_X.mult(5));
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestCartoonEdge.java | 41 import com.jme3.math.Vector3f; 95 dl.setDirection(new Vector3f(-1, -1, 1).normalizeLocal()); 115 cam.setLocation(new Vector3f(-5.6310086f, 5.0892987f, -13.000479f));
|
TestTransparentSSAO.java | 25 cam.setLocation(new Vector3f(0.14914267f, 0.58147097f, 4.7686534f)); 28 // cam.setLocation(new Vector3f(2.0606942f, 3.20342f, 6.7860126f)); 54 dl1.setDirection(new Vector3f(1, -1, 1).normalizeLocal()); 59 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
|
TestBloom.java | 43 import com.jme3.math.Vector3f; 71 cam.setLocation(new Vector3f(-2.336393f, 11.91392f, -7.139601f)); 105 Geometry soil=new Geometry("soil", new Box(new Vector3f(0, -13, 550), 800, 10, 700)); 111 light.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
|
TestCrossHatch.java | 43 import com.jme3.math.Vector3f; 71 cam.setLocation(new Vector3f(-2.336393f, 11.91392f, -7.139601f)); 105 Geometry soil=new Geometry("soil", new Box(new Vector3f(0, -13, 550), 800, 10, 700)); 111 light.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
|
TestFog.java | 45 import com.jme3.math.Vector3f; 74 cam.setLocation(new Vector3f(-27.0f, 1.0f, 75.0f)); 90 Vector3f lightDir=new Vector3f(-0.37352666f, -0.50444174f, -0.7784704f);
|
TestMultiplesFilters.java | 43 import com.jme3.math.Vector3f; 71 cam.setLocation(new Vector3f(6.0344796f, 1.5054002f, 55.572033f)); 88 sun.setDirection(new Vector3f(-0.4790551f, -0.39247334f, -0.7851566f)); 95 final WaterFilter water=new WaterFilter(rootNode,new Vector3f(-0.4790551f, -0.39247334f, -0.7851566f));
|
TestPosterization.java | 43 import com.jme3.math.Vector3f; 71 cam.setLocation(new Vector3f(-2.336393f, 11.91392f, -7.139601f)); 105 Geometry soil=new Geometry("soil", new Box(new Vector3f(0, -13, 550), 800, 10, 700)); 111 light.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 38 import com.jme3.math.Vector3f; 233 Vector3f temp = new Vector3f(); 288 Vector3f offset = bbox.getCenter().negate(); 289 Vector3f size = new Vector3f(bbox.getXExtent(), bbox.getYExtent(), bbox.getZExtent()); 305 Vector3f scale = new Vector3f(); 308 Vector3f invScale = new Vector3f(); [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/ |
PhysicsSpace.java | 64 import com.jme3.math.Vector3f; 111 private Vector3f worldMin = new Vector3f(-10000f, -10000f, -10000f); 112 private Vector3f worldMax = new Vector3f(10000f, 10000f, 10000f); 115 private javax.vecmath.Vector3f rayVec1 = new javax.vecmath.Vector3f(); 116 private javax.vecmath.Vector3f rayVec2 = new javax.vecmath.Vector3f(); 139 this(new Vector3f(-10000f, -10000f, -10000f), new Vector3f(10000f, 10000f, 10000f), BroadphaseType.DBVT) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
ConstraintLocLimit.java | 5 import com.jme3.math.Vector3f;
83 Vector3f[] translations = track.getTranslations();
94 Vector3f ownerLocation = ownerTransform.getTranslation();
105 private void locLimit(Vector3f translation, float influence) {
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshHelper.java | 46 import com.jme3.math.Vector3f;
117 Vector3f[] vertices = this.getVertices(structure, blenderContext);
151 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>(verticesAmount);
153 List<Vector3f> normalList = new ArrayList<Vector3f>();
154 List<Vector3f> vertexList = new ArrayList<Vector3f>();
[all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
HeightfieldCollisionShape.java | 12 import com.jme3.math.Vector3f;
48 createCollisionHeightfield(heightmap, Vector3f.UNIT_XYZ);
51 public HeightfieldCollisionShape(float[] heightmap, Vector3f scale) {
55 protected void createCollisionHeightfield(float[] heightmap, Vector3f worldScale) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Spatial.java | 331 public Vector3f getWorldTranslation() { 342 public Vector3f getWorldScale() { 365 public void rotateUpTo(Vector3f newUp) { 368 Vector3f compVecA = vars.vect1; 372 Vector3f upY = compVecA.set(Vector3f.UNIT_Y); 380 Vector3f rotAxis = upY.crossLocal(newUp).normalizeLocal(); 395 * Unlike {@link Quaternion#lookAt(com.jme3.math.Vector3f, com.jme3.math.Vector3f) } 404 public void lookAt(Vector3f position, Vector3f upVector) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
DistanceLodCalculator.java | 38 import com.jme3.math.Vector3f; 65 public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String, UpdatedTerrainPatch> updates) { 109 protected Vector3f getCenterLocation(TerrainPatch terrainPatch) { 110 Vector3f loc = terrainPatch.getWorldTranslation().clone();
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestParallax.java | 55 private Vector3f lightDir = new Vector3f(-1, -1, .5f).normalizeLocal(); 90 g.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); 116 cam.setLocation(new Vector3f(-15.445636f, 30.162927f, 60.252777f));
|