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

1 2 3 4 5 67 8 91011>>

  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Cylinder.java 41 import com.jme3.math.Vector3f;
262 Vector3f[] vNormals = null;
263 Vector3f vNormal = Vector3f.UNIT_Z;
266 vNormals = new Vector3f[radialSamples];
267 Vector3f vHeight = Vector3f.UNIT_Z.mult(height);
268 Vector3f vRadial = new Vector3f();
272 Vector3f vRadius = vRadial.mult(radius);
    [all...]
Curve.java 35 import com.jme3.math.Vector3f;
52 private Vector3f temp = new Vector3f();
67 public Curve(Vector3f[] controlPoints, int nbSubSegments) {
102 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) {
103 Vector3f vector3f = it.next(); local
104 array[i] = vector3f.x;
106 array[i] = vector3f.y;
108 array[i] = vector3f.z
160 Vector3f vector3f = controlPoints.get(currentControlPoint); local
172 Vector3f vector3f = controlPoints.get(currentControlPoint); local
239 Vector3f vector3f = it.next(); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Eigen3f.java 46 Vector3f[] eigenVectors = new Vector3f[3];
62 eigenVectors[0] = new Vector3f();
63 eigenVectors[1] = new Vector3f();
64 eigenVectors[2] = new Vector3f();
77 Vector3f[] maxRows = new Vector3f[3];
78 maxRows[0] = new Vector3f();
79 maxRows[1] = new Vector3f();
80 maxRows[2] = new Vector3f();
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
RigidBodyMotionState.java 40 import com.jme3.math.Vector3f;
52 private Vector3f worldLocation = new Vector3f();
55 private Vector3f localLocation = new Vector3f();
130 public Vector3f getWorldLocation() {
184 // public synchronized void setWorldTransform(Vector3f location, Quaternion rotation) {
  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNode.java 14 import com.jme3.math.Vector3f;
44 Box boxshape4 = new Box(Vector3f.ZERO, 1f, 1f, 1f );
55 Box box = new Box(Vector3f.ZERO, 1f, 1f, 1f);
76 dl.setDirection(new Vector3f(1, -1, -1));
90 cube2.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z));
93 batch.setLocalRotation(new Quaternion().fromAngleAxis(time, Vector3f.UNIT_Z));
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestCollisionGroups.java 41 import com.jme3.math.Vector3f;
68 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
74 physicsSphere2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(4, 8, 0));
81 node2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2.5f, -4, 0f));
88 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new MeshCollisionShape(new Box(Vector3f.ZERO, 100f, 0.2f, 100f)), 0);
89 node3.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f));
TestKinematicAddToPhysicsSpaceIssue.java 15 import com.jme3.math.Vector3f;
39 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0));
51 physicsSphere2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(5, 6, 0));
65 node2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2.5f, -4, 0f));
70 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
71 node3.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f));
  /external/jmonkeyengine/engine/src/test/jme3test/model/
TestOgreLoading.java 39 import com.jme3.math.Vector3f;
60 // pl.setPosition(new Vector3f(10, 10, -10));
66 dl.setDirection(new Vector3f(-0.1f, -0.7f, 1).normalizeLocal());
82 pl.setPosition(new Vector3f(0f, 0f, 4f));
87 p2.setPosition(new Vector3f(0f, 0f, 3f));
106 pl.setPosition(new Vector3f(FastMath.cos(angle1) * 4f, 0.5f, FastMath.sin(angle1) * 4f));
107 p2.setPosition(new Vector3f(FastMath.cos(angle2) * 4f, 0.5f, FastMath.sin(angle2) * 4f));
  /external/jmonkeyengine/engine/src/test/jme3test/renderer/
TestMultiViews.java 38 import com.jme3.math.Vector3f;
57 dl.setDirection(Vector3f.UNIT_XYZ.negate());
65 cam.setLocation(new Vector3f(3.3212643f, 4.484704f, 4.2812433f));
71 cam2.setLocation(new Vector3f(-0.10947256f, 1.5760219f, 4.81758f));
81 cam3.setLocation(new Vector3f(0.2846221f, 6.4271426f, 0.23380789f));
91 cam4.setLocation(new Vector3f(4.775564f, 1.4548365f, 0.11491505f));
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
Octnode.java 42 import com.jme3.math.Vector3f;
52 static final Vector3f[] extentMult = new Vector3f[]
54 new Vector3f( 1, 1, 1), // right top forw
55 new Vector3f(-1, 1, 1), // left top forw
56 new Vector3f( 1,-1, 1), // right bot forw
57 new Vector3f(-1,-1, 1), // left bot forw
58 new Vector3f( 1, 1,-1), // right top back
59 new Vector3f(-1, 1,-1), // left top back
60 new Vector3f( 1,-1,-1), // right bot bac
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/
BulletAppState.java 11 import com.jme3.math.Vector3f;
30 protected Vector3f worldMin = new Vector3f(-10000f, -10000f, -10000f);
31 protected Vector3f worldMax = new Vector3f(10000f, 10000f, 10000f);
50 this(new Vector3f(-10000f, -10000f, -10000f), new Vector3f(10000f, 10000f, 10000f), broadphaseType);
60 public BulletAppState(Vector3f worldMin, Vector3f worldMax) {
64 public BulletAppState(Vector3f worldMin, Vector3f worldMax, BroadphaseType broadphaseType)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
SpatialTrack.java 8 import com.jme3.math.Vector3f;
56 public SpatialTrack(float[] times, Vector3f[] translations,
57 Quaternion[] rotations, Vector3f[] scales) {
71 Vector3f tempV = vars.vect1;
72 Vector3f tempS = vars.vect2;
74 Vector3f tempV2 = vars.vect3;
75 Vector3f tempS2 = vars.vect4;
146 public void setKeyframes(float[] times, Vector3f[] translations,
147 Quaternion[] rotations, Vector3f[] scales) {
183 public Vector3f[] getScales() {
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
EmitterMeshFaceShape.java 4 import com.jme3.math.Vector3f;
34 this.vertices = new ArrayList<List<Vector3f>>(meshes.size());
35 this.normals = new ArrayList<List<Vector3f>>(meshes.size());
37 Vector3f[] vertexTable = BufferUtils.getVector3Array(mesh.getFloatBuffer(Type.Position));
39 List<Vector3f> vertices = new ArrayList<Vector3f>(mesh.getTriangleCount() * 3);
40 List<Vector3f> normals = new ArrayList<Vector3f>(mesh.getTriangleCount());
59 public void getRandomPoint(Vector3f store) {
65 store.set(Vector3f.ZERO)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/input/
FlyByCamera.java 40 import com.jme3.math.Vector3f;
76 protected Vector3f initialUpVec;
98 public void setUpVector(Vector3f upVec) {
244 protected void rotateCamera(float value, Vector3f axis){
256 Vector3f up = cam.getUp();
257 Vector3f left = cam.getLeft();
258 Vector3f dir = cam.getDirection();
293 Vector3f vel = new Vector3f(0, value * moveSpeed, 0);
294 Vector3f pos = cam.getLocation().clone();
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/animation/
TestMotionPath.java 49 import com.jme3.math.Vector3f;
70 cam.setLocation(new Vector3f(8.4399185f, 11.189463f, 14.267577f));
72 path.addWayPoint(new Vector3f(10, 3, 0));
73 path.addWayPoint(new Vector3f(10, 3, 10));
74 path.addWayPoint(new Vector3f(-40, 3, 10));
75 path.addWayPoint(new Vector3f(-40, 3, 0));
76 path.addWayPoint(new Vector3f(-40, 8, 0));
77 path.addWayPoint(new Vector3f(10, 8, 0));
78 path.addWayPoint(new Vector3f(10, 8, 10));
79 path.addWayPoint(new Vector3f(15, 8, 10))
    [all...]
  /external/eigen/demos/opengl/
gpuhelper.cpp 56 void GpuHelper::drawVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect /* = 50.*/)
63 Vector3f ax = Matrix3f::Identity().col(2).cross(vec);
65 Vector3f tmp = vec;
77 void GpuHelper::drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect)
84 Vector3f ax = Matrix3f::Identity().col(2).cross(vec);
86 Vector3f tmp = vec;
  /external/eigen/test/
product_small.cpp 46 Vector3f v = Vector3f::Random();
  /external/jmonkeyengine/engine/src/android/jme3test/android/
SimpleSoundTest.java 8 import com.jme3.math.Vector3f;
19 gun.setLocalTranslation(new Vector3f(0, 0, 0));
TestAmbient.java 38 import com.jme3.math.Vector3f;
64 footsteps.setLocalTranslation(new Vector3f(4, -1, 30));
82 waves.setLocalTranslation(new Vector3f(4, -1, 30));
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
ConstraintLocLike.java 5 import com.jme3.math.Vector3f;
72 Vector3f[] translations = blenderTrack.getTranslations();
84 Vector3f ownerLocation = ownerTransform.getTranslation();
90 private void locLike(Vector3f ownerLocation, Vector3f targetLocation, float influence) {
91 Vector3f startLocation = ownerLocation.clone();
92 Vector3f offset = Vector3f.ZERO;
  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
ScaleTrack.java 15 import com.jme3.math.Vector3f;
30 private Vector3f startScale;
31 private Vector3f endScale;
51 public ScaleTrack(Spatial spatial, Vector3f endScale) {
57 public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration, LoopMode loopMode) {
64 public ScaleTrack(Spatial spatial, Vector3f endScale, LoopMode loopMode) {
71 public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration) {
119 endScale = (Vector3f) ic.readSavable("endScale", null);
  /external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
WaterFilter.java 76 private Vector3f targetLocation = new Vector3f();
89 private Vector3f lightDirection = new Vector3f(0, -1, 0);
94 private Vector3f colorExtinction = new Vector3f(5.0f, 20.0f, 30.0f);
101 private Vector3f foamExistence = new Vector3f(0.45f, 4.35f, 1.5f);
126 public WaterFilter(Node reflectionScene, Vector3f lightDirection) {
152 plane = new Plane(Vector3f.UNIT_Y, new Vector3f(0, waterHeight, 0).dot(Vector3f.UNIT_Y))
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestBareBonesApp.java 36 import com.jme3.math.Vector3f;
59 boxGeom = new Geometry("Box", new Box(Vector3f.ZERO, 2, 2, 2));
  /external/jmonkeyengine/engine/src/test/jme3test/collision/
TestMousePick.java 43 import com.jme3.math.Vector3f;
78 Vector3f origin = cam.getWorldCoordinates(inputManager.getCursorPosition(), 0.0f);
79 Vector3f direction = cam.getWorldCoordinates(inputManager.getCursorPosition(), 0.3f);
89 // Vector3f pt = results.getCollision(i).getWorldContactPoint();
99 q.lookAt(closest.getContactNormal(), Vector3f.UNIT_Y);
110 Box box = new Box(new Vector3f(x, y, z), 1, 1, 1);
120 Box box = new Box(new Vector3f(0, -4, -5), 15, .2f, 15);
130 Arrow arrow = new Arrow(Vector3f.UNIT_Z.mult(2f));
149 sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloJME3.java 38 import com.jme3.math.Vector3f;
54 Box b = new Box(Vector3f.ZERO, 1, 1, 1); // create cube shape at the origin

Completed in 379 milliseconds

1 2 3 4 5 67 8 91011>>