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

<<11121314151617

  /external/jmonkeyengine/engine/src/core/com/jme3/util/
SkyFactory.java 7 import com.jme3.math.Vector3f;
33 * to get a texture coordinate. Use Vector3f.UNIT_XYZ to not apply
45 public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap) {
55 * to get a texture coordinate. Use Vector3f.UNIT_XYZ to not apply
69 public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap, int sphereRadius) {
78 sky.setModelBound(new BoundingSphere(Float.POSITIVE_INFINITY, Vector3f.ZERO));
142 public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture north, Texture south, Texture up, Texture down, Vector3f normalScale) {
146 public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture north, Texture south, Texture up, Texture down, Vector3f normalScale, int sphereRadius) {
151 sky.setModelBound(new BoundingSphere(Float.POSITIVE_INFINITY, Vector3f.ZERO));
200 return createSky(assetManager, west, east, north, south, up, down, Vector3f.UNIT_XYZ)
    [all...]
  /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]));
  /external/jmonkeyengine/engine/src/test/jme3test/animation/
TestCameraMotionPath.java 48 import com.jme3.math.Vector3f;
73 cam.setLocation(new Vector3f(8.4399185f, 11.189463f, 14.267577f));
79 path.addWayPoint(new Vector3f(20, 3, 0));
80 path.addWayPoint(new Vector3f(0, 3, 20));
81 path.addWayPoint(new Vector3f(-20, 3, 0));
82 path.addWayPoint(new Vector3f(0, 3, -20));
89 cameraMotionControl.setLookAt(teapot.getWorldTranslation(), Vector3f.UNIT_Y);
141 Geometry soil = new Geometry("soil", new Box(new Vector3f(0, -1.0f, 0), 50, 1, 50));
145 light.setDirection(new Vector3f(0, -1, 0).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloInput.java 44 import com.jme3.math.Vector3f;
60 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
99 player.move((new Vector3f(value, 0,0)) );
102 player.move(new Vector3f(-value, 0,0));
HelloPhysics.java 45 import com.jme3.math.Vector3f;
90 box = new Box(Vector3f.ZERO, brickLength, brickHeight, brickWidth);
93 floor = new Box(Vector3f.ZERO, 10f, 0.1f, 5f);
104 cam.setLocation(new Vector3f(0, 4f, 6f));
105 cam.lookAt(new Vector3f(2, 2, 0), Vector3f.UNIT_Y);
173 Vector3f vt =
174 new Vector3f(i * brickLength * 2 + startpt, brickHeight + height, 0);
183 public void makeBrick(Vector3f loc) {
  /external/eigen/demos/opengl/
quaternion_demo.cpp 43 mCenters.push_back(Vector3f::Zero());
75 Vector3f c = mCenters[i];
76 Vector3f ax0 = (c - mCenters[parents[i]]).normalized();
77 Vector3f ax1 = ax0.unitOrthogonal();
79 q.setFromTwoVectors(Vector3f::UnitZ(), ax0);
83 Vector3f newC = c + ( (AngleAxisf(angles[j*2+1], ax0)
110 std::vector<Vector3f> mCenters;
232 gpu.drawVector(Vector3f::Zero(), length*Vector3f::UnitX(), Color(1,0,0,1));
233 gpu.drawVector(Vector3f::Zero(), length*Vector3f::UnitY(), Color(0,1,0,1))
    [all...]
quaternion_demo.h 66 std::vector<Vector3f> mVertices;
67 std::vector<Vector3f> mNormals;
  /external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
BIHTree.java 47 import com.jme3.math.Vector3f;
144 Vector3f min = vars.vect1.set(new Vector3f(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY));
145 Vector3f max = vars.vect2.set(new Vector3f(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY));
147 Vector3f v1 = vars.vect3,
173 Vector3f v1 = vars.vect1,
194 Vector3f min = bbox.getMin(null);
195 Vector3f max = bbox.getMax(null);
298 Vector3f exteriorExt = nodeBbox.getExtent(null)
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
AndroidAudioRenderer.java 47 import com.jme3.math.Vector3f;
67 private final Vector3f listenerPosition = new Vector3f();
69 private final Vector3f distanceVector = new Vector3f();
109 Vector3f pos = src.getWorldTranslation();
116 Vector3f vel = src.getVelocity();
149 Vector3f dir = src.getDirection();
207 Vector3f dir = listener.getDirection();
208 Vector3f up = listener.getUp();
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
AudioNode.java 41 import com.jme3.math.Vector3f;
75 protected Vector3f velocity = new Vector3f();
81 protected Vector3f direction = new Vector3f(0, 0, 1);
463 * @see AudioNode#setVelocity(com.jme3.math.Vector3f)
465 public Vector3f getVelocity() {
476 public void setVelocity(Vector3f velocity) {
609 * {@link AudioNode#setDirection(com.jme3.math.Vector3f) }
623 * @see AudioNode#setDirection(com.jme3.math.Vector3f)
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LODGeomap.java 40 import com.jme3.math.Vector3f;
80 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center) {
84 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) {
631 public FloatBuffer[] writeTangentArray(FloatBuffer normalBuffer, FloatBuffer tangentStore, FloatBuffer binormalStore, FloatBuffer textureBuffer, Vector3f scale) {
654 Vector3f normal = new Vector3f();
655 Vector3f tangent = new Vector3f();
656 Vector3f binormal = new Vector3f();
    [all...]
TerrainQuad.java 47 import com.jme3.math.Vector3f;
102 protected Vector3f stepScale;
111 protected List<Vector3f> lastCameraLocations; // used for LOD calc
120 private Vector3f lastScale = Vector3f.UNIT_XYZ;
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
176 public TerrainQuad(String name, int patchSize, int size, Vector3f scale, float[] heightMap) {
178 affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), size*2, Float.MAX_VALUE, size*2);
194 public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) {
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNodeCluster.java 15 import com.jme3.math.Vector3f;
105 cam.setLocation(new Vector3f(-34.403286f, 126.65158f, 434.791f));
118 Vector3f pos = new Vector3f(-40, 0, -40);
122 Arrow a = new Arrow(new Vector3f(0, 50, 0));
142 Geometry box = new Geometry("Box" + i, new Box(Vector3f.ZERO, 1, 1, 1));
143 box.setLocalTranslation(new Vector3f(xPosition.get(xPosition.size() - 1),
313 Vector3f lookAtPos = new Vector3f(0, 0, 0);
338 Vector3f v = box.getLocalTranslation()
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Matrix3f.java 267 * parameter. This column is returned as a <code>Vector3f</code> object.
273 public Vector3f getColumn(int i) {
279 * parameter. This column is returned as a <code>Vector3f</code> object.
288 public Vector3f getColumn(int i, Vector3f store) {
290 store = new Vector3f();
317 * parameter. This row is returned as a <code>Vector3f</code> object.
323 public Vector3f getRow(int i) {
329 * parameter. This row is returned as a <code>Vector3f</code> object.
338 public Vector3f getRow(int i, Vector3f store)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/input/
ChaseCamera.java 40 import com.jme3.math.Vector3f;
77 protected Vector3f initialUpVec;
87 protected Vector3f prevPos;
91 protected final Vector3f targetDir = new Vector3f();
93 protected final Vector3f pos = new Vector3f();
94 protected Vector3f targetLocation = new Vector3f(0, 0, 0);
96 protected Vector3f lookAtOffset = new Vector3f(0, 0, 0);
    [all...]
  /external/jmonkeyengine/engine/src/android/jme3test/android/
TestUnshadedModel.java 8 import com.jme3.math.Vector3f;
37 pl.setPosition(new Vector3f(4f, 0f, 0f));
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
PlaneCollisionShape.java 13 import com.jme3.math.Vector3f;
64 private native long createShape(Vector3f normal, float constant);
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
SkeletonPoints.java 37 import com.jme3.math.Vector3f;
71 Vector3f bonePos = bone.getModelSpacePosition();
  /external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
MapModel3D.java 7 import com.jme3.math.Vector3f;
167 public Vector3f toWorldUnit(Position position) {
233 return new Vector3f(x, 0, z);
246 public Position toPosition(Vector3f posVec) {
250 Vector3f worldCentre = toWorldUnit(new Position(0, 0));
298 * @param posVec <code>Vector3f</code> object denoting the map's new centre.
301 public void setCentre(Vector3f posVec) {
315 * @return <code>Vector3f</code> object marking the map's (x,y) centre.
318 public Vector3f getCentreWu() {
319 return new Vector3f(xCentre, 0, zCentre)
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
ImageBasedHeightMapGrid.java 10 import com.jme3.math.Vector3f;
51 public HeightMap getHeightMapAt(Vector3f location) {
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestReleaseDirectMemory.java 37 import com.jme3.math.Vector3f;
53 Box b = new Box(Vector3f.ZERO, 1, 1, 1);
  /external/jmonkeyengine/engine/src/test/jme3test/asset/
TestOnlineJar.java 39 import com.jme3.math.Vector3f;
74 quad.setLocalScale(new Vector3f(aspect * 1.5f, 1.5f, 1));
TestUrlLoading.java 39 import com.jme3.math.Vector3f;
74 quad.setLocalScale(new Vector3f(aspect * 1.5f, 1.5f, 1));
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
BombControl.java 25 import com.jme3.math.Vector3f;
37 private Vector3f vector = new Vector3f();
38 private Vector3f vector2 = new Vector3f();
73 effect.setShape(new EmitterSphereShape(Vector3f.ZERO, 1f));
78 effect.setInitialVelocity(new Vector3f(0, 7, 0));
127 ((PhysicsRigidBody) physicsCollisionObject).applyImpulse(vector2, Vector3f.ZERO);
  /external/jmonkeyengine/engine/src/test/jme3test/conversion/
TestTriangleStrip.java 38 import com.jme3.math.Vector3f;
71 cam.setLocation(new Vector3f(8.378951f, 5.4324f, 8.795956f));

Completed in 496 milliseconds

<<11121314151617