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

<<11121314151617

  /external/jmonkeyengine/engine/src/test/jme3test/effect/
TestMovingParticle.java 42 import com.jme3.math.Vector3f;
66 emit.setInitialVelocity(new Vector3f(0, .5f, 0));
  /external/jmonkeyengine/engine/src/test/jme3test/material/
TestUnshadedModel.java 8 import com.jme3.math.Vector3f;
37 pl.setPosition(new Vector3f(4f, 0f, 0f));
  /external/jmonkeyengine/engine/src/test/jme3test/niftygui/
TestNiftyGui.java 37 import com.jme3.math.Vector3f;
56 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestHDR.java 37 import com.jme3.math.Vector3f;
54 Box boxMesh = new Box(Vector3f.ZERO, 1, 1, 1);
TestMultiViewsFilters.java 41 import com.jme3.math.Vector3f;
66 dl.setDirection(Vector3f.UNIT_XYZ.negate());
73 cam.setLocation(new Vector3f(3.3212643f, 4.484704f, 4.2812433f));
79 cam2.setLocation(new Vector3f(-0.10947256f, 1.5760219f, 4.81758f));
90 cam3.setLocation(new Vector3f(0.2846221f, 6.4271426f, 0.23380789f));
103 cam4.setLocation(new Vector3f(4.775564f, 1.4548365f, 0.11491505f));
120 cam5.setLocation(new Vector3f(0.2846221f, 6.4271426f, 0.23380789f));
138 // fpp.addFilter(new WaterFilter(rootNode, Vector3f.UNIT_Y.mult(-1)));
  /external/jmonkeyengine/engine/src/test/jme3test/renderer/
TestParallelProjection.java 41 import com.jme3.math.Vector3f;
58 dl.setDirection(Vector3f.UNIT_XYZ.negate());
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
TestTexture3DLoading.java 12 import com.jme3.math.Vector3f;
52 cam.setLocation(new Vector3f(4.7444625f, 5.160054f, 13.1939f));
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
Converter.java 54 public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec) {
55 com.jme3.math.Vector3f newVec = new com.jme3.math.Vector3f();
60 public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f newVec) {
67 public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec) {
68 javax.vecmath.Vector3f newVec = new javax.vecmath.Vector3f()
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainGridAlphaMapTest.java 20 import com.jme3.math.Vector3f;
71 sun.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
171 this.getCamera().setLocation(new Vector3f(0, 256, 0));
182 player3.setPhysicsLocation(new Vector3f(cam.getLocation().x, 256, cam.getLocation().z));
189 public void gridMoved(Vector3f newCenter) {
192 public void tileAttached(Vector3f cell, TerrainQuad quad) {
207 public void tileDetached(Vector3f cell, TerrainQuad quad) {
303 private final Vector3f walkDirection = new Vector3f();
307 Vector3f camDir = this.cam.getDirection().clone().multLocal(0.6f)
    [all...]
TerrainTestModifyHeight.java 50 import com.jme3.math.Vector3f;
105 Vector3f intersection = getWorldIntersection();
121 Vector3f tl = terrain.getWorldTranslation();
122 marker.setLocalTranslation(tl.add(new Vector3f(intersection.x, h, intersection.z)) );
123 markerNormal.setLocalTranslation(tl.add(new Vector3f(intersection.x, h, intersection.z)) );
125 Vector3f normal = terrain.getNormal(new Vector2f(intersection.x, intersection.z));
147 light.setDirection((new Vector3f(-0.5f, -1f, -0.5f)).normalize());
154 cam.setLocation(new Vector3f(0, 256, 0));
155 cam.lookAtDirection(new Vector3f(0, -1f, 0).normalizeLocal(), Vector3f.UNIT_X)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
CurveAndSurfaceMath.java 27 public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store) {
31 List<Vector3f> controlPoints = nurbSpline.getControlPoints();
36 store.set(Vector3f.ZERO);
66 int basisUFunctionDegree, int basisVFunctionDegree, Vector3f store) {
67 store.set(Vector3f.ZERO);
Quaternion.java 67 DIRECTION_Z.fromAxes(Vector3f.UNIT_X, Vector3f.UNIT_Y, Vector3f.UNIT_Z);
478 * by the parameter. This column is returned as a <code>Vector3f</code>
485 public Vector3f getRotationColumn(int i) {
491 * by the parameter. This column is returned as a <code>Vector3f</code>
501 public Vector3f getRotationColumn(int i, Vector3f store) {
503 store = new Vector3f();
556 public Quaternion fromAngleAxis(float angle, Vector3f axis) {
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
CompoundCollisionShape.java 43 import com.jme3.math.Vector3f;
69 public void addChildShape(CollisionShape shape, Vector3f location) {
81 public void addChildShape(CollisionShape shape, Vector3f location, Matrix3f rotation) {
92 private void addChildShapeDirect(CollisionShape shape, Vector3f location, Matrix3f rotation) {
124 public void setScale(Vector3f scale) {
HeightfieldCollisionShape.java 15 import com.jme3.math.Vector3f;
47 createCollisionHeightfield(heightmap, Vector3f.UNIT_XYZ);
50 public HeightfieldCollisionShape(float[] heightmap, Vector3f scale) {
54 protected void createCollisionHeightfield(float[] heightmap, Vector3f worldScale) {
95 shape.setLocalScaling(new javax.vecmath.Vector3f(scale.x, scale.y, scale.z));
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
ConeJoint.java 43 import com.jme3.math.Vector3f;
68 public ConeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB) {
79 public ConeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Matrix3f rotA, Matrix3f rotB) {
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestCcd.java 46 import com.jme3.math.Vector3f;
100 node2.setLocalTranslation(new Vector3f(2.5f, 0, 0f));
101 node2.addControl(new RigidBodyControl(new MeshCollisionShape(new Box(Vector3f.ZERO, 4, 4, 0.1f)), 0));
107 node3.setLocalTranslation(new Vector3f(0f, -6, 0f));
108 node3.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(100, 1, 100)), 0));
TestBoneRagdoll.java 56 import com.jme3.math.Vector3f;
89 cam.setLocation(new Vector3f(0.26924422f, 6.646658f, 22.265987f));
106 // model.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.HALF_PI, Vector3f.UNIT_X));
149 Vector3f v = new Vector3f();
156 q.fromAngleAxis(angles[1], Vector3f.UNIT_Y);
227 dl.setDirection(new Vector3f(-0.1f, -0.7f, -1).normalizeLocal());
295 Vector3f direction = new Vector3f(0, 0, 1);
296 Quaternion rotate = new Quaternion().fromAngleAxis(FastMath.PI / 8, Vector3f.UNIT_Y)
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/export/
TestAssetLinkNode.java 45 import com.jme3.math.Vector3f;
106 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal());
112 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal());
118 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal());
128 pl.setPosition(new Vector3f(FastMath.cos(angle) * 6f, 3f, FastMath.sin(angle) * 6f));
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloMaterial.java 40 import com.jme3.math.Vector3f;
62 Box boxshape1 = new Box(new Vector3f(-3f,1.1f,0f), 1f,1f,1f);
71 Box boxshape3 = new Box(new Vector3f(0f,0f,0f), 1f,1f,0.01f);
81 Box boxshape4 = new Box(new Vector3f(3f,-1f,0f), 1f,1f,1f);
109 sun.setDirection(new Vector3f(1,0,-2).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestTransparentShadow.java 62 cam.setLocation(new Vector3f(2.0606942f, 3.20342f, 6.7860126f));
97 dl1.setDirection(new Vector3f(1, -1, 1).normalizeLocal());
102 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
118 fire.setInitialVelocity(new Vector3f(0, 2, 0));
132 pssmRenderer.setDirection(new Vector3f(0.01f, -1f, 0.01f).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/model/anim/
TestAnimBlendBug.java 44 import com.jme3.math.Vector3f;
93 cam.setLocation( new Vector3f( 0f, 150f, -325f ) );
94 cam.lookAt( new Vector3f( 0f, 100f, 0f ), Vector3f.UNIT_Y );
97 dl.setDirection(new Vector3f(-0.1f, -0.7f, 1).normalizeLocal());
  /external/jmonkeyengine/engine/src/core/com/jme3/bounding/
Intersection.java 36 import com.jme3.math.Vector3f;
48 private static final void findMinMax(float x0, float x1, float x2, Vector3f minMax) {
64 // private boolean axisTest(float a, float b, float fa, float fb, Vector3f v0, Vector3f v1, )
66 // Vector3f center, Vector3f ext,
67 // Vector3f v1, Vector3f v2, Vector3f v3){
81 public static boolean intersect(BoundingBox bbox, Vector3f v1, Vector3f v2, Vector3f v3)
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNodeTower.java 52 import com.jme3.math.Vector3f;
111 brick = new Box(Vector3f.ZERO, brickWidth, brickHeight, brickDepth);
118 this.cam.setLocation(new Vector3f(0, 25f, 8f));
119 cam.lookAt(Vector3f.ZERO, new Vector3f(0, 1, 0));
131 bsr.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
177 Vector3f vt = new Vector3f((float)(tempX), (float)(tempY), (float)(tempZ));
195 Box floorBox = new Box(Vector3f.ZERO, 10f, 0.1f, 5f);
228 public void addBrick(Vector3f ori)
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsVehicle.java 43 import com.jme3.math.Vector3f;
148 public VehicleWheel addWheel(Vector3f connectionPoint, Vector3f direction, Vector3f axle, float suspensionRestLength, float wheelRadius, boolean isFrontWheel) {
163 public VehicleWheel addWheel(Spatial spat, Vector3f connectionPoint, Vector3f direction, Vector3f axle, float suspensionRestLength, float wheelRadius, boolean isFrontWheel) {
466 public Vector3f getForwardVector(Vector3f vector) {
468 vector = new Vector3f();
    [all...]
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
SkeletonLoader.java 42 import com.jme3.math.Vector3f;
74 private ArrayList<Vector3f> translations = new ArrayList<Vector3f>();
76 private ArrayList<Vector3f> scales = new ArrayList<Vector3f>();
78 private Vector3f position;
80 private Vector3f scale;
82 private Vector3f axis;
190 scales.add(new Vector3f(1,1,1));
204 Vector3f[] transArray = translations.toArray(new Vector3f[translations.size()])
    [all...]

Completed in 259 milliseconds

<<11121314151617