/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
ParticleInfluencer.java | 7 import com.jme3.math.Vector3f; 38 void setInitialVelocity(Vector3f initialVelocity); 44 Vector3f getInitialVelocity(); 51 * the velocity given in {@link ParticleEmitter#setStartVel(com.jme3.math.Vector3f) },
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingSphere.java | 82 public BoundingSphere(float r, Vector3f c) {
135 Vector3f[] vertList = new Vector3f[(end - start) * 3];
160 // Vector3f[] vertList = new Vector3f[(end - start) * 3];
165 // vertList[count++] = new Vector3f(verts[0]);
166 // vertList[count++] = new Vector3f(verts[1]);
167 // vertList[count++] = new Vector3f(verts[2]);
185 center = new Vector3f();
212 Vector3f tempA = new Vector3f(); //vars.vect1; [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/ |
HingeJoint.java | 39 import com.jme3.math.Vector3f; 54 protected Vector3f axisA; 55 protected Vector3f axisB; 69 public HingeJoint(PhysicsRigidBody nodeA, PhysicsRigidBody nodeB, Vector3f pivotA, Vector3f pivotB, Vector3f axisA, Vector3f axisB) { 143 capsule.write(axisA, "axisA", new Vector3f()); 144 capsule.write(axisB, "axisB", new Vector3f()); 163 this.axisA = (Vector3f) capsule.readSavable("axisA", new Vector3f()) [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
VehicleWheel.java | 39 import com.jme3.math.Vector3f; 51 protected Vector3f location = new Vector3f(); 52 protected Vector3f direction = new Vector3f(); 53 protected Vector3f axle = new Vector3f(); 63 protected Vector3f wheelWorldLocation = new Vector3f(); 73 public VehicleWheel(Spatial spat, Vector3f location, Vector3f direction, Vector3f axle [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Line.java | 51 private Vector3f origin;
52 private Vector3f direction;
60 origin = new Vector3f();
61 direction = new Vector3f();
70 public Line(Vector3f origin, Vector3f direction) {
80 public Vector3f getOrigin() {
89 public void setOrigin(Vector3f origin) {
98 public Vector3f getDirection() {
107 public void setDirection(Vector3f direction) { [all...] |
/external/eigen/doc/snippets/ |
Tutorial_solve_triangular_inplace.cpp | 2 Vector3f b;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
AbstractBox.java | 39 import com.jme3.math.Vector3f; 58 public final Vector3f center = new Vector3f(0f, 0f, 0f); 71 protected final Vector3f[] computeVertices() { 72 Vector3f[] axes = { 73 Vector3f.UNIT_X.mult(xExtent), 74 Vector3f.UNIT_Y.mult(yExtent), 75 Vector3f.UNIT_Z.mult(zExtent) 77 return new Vector3f[] { 117 public final Vector3f getCenter() [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/ |
Terrain.java | 36 import com.jme3.math.Vector3f;
66 public Vector3f getNormal(Vector2f xz);
137 public void update(List<Vector3f> location, LodCalculator lodCalculator);
159 * getMaterial(Vector3f) instead.
176 public Material getMaterial(Vector3f worldLocation);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestSphere.java | 37 import com.jme3.math.Vector3f; 61 cam.setLocation(new Vector3f(0, 5, 0)); 62 cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestGhostObject.java | 43 import com.jme3.math.Vector3f; 68 Box boxGeom = new Box(Vector3f.ZERO, 1f, 1f, 1f); 70 CollisionShape shape = new BoxCollisionShape(new Vector3f(1, 1, 1)); 74 physicsBox.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f)); 80 physicsBox1.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0, 40, 0)); 84 Node physicsBox2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1); 86 physicsBox2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.5f, 80, -.8f)); 91 Node node = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(100, 1, 100)), 0); 93 node.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f)); 105 Vector3f halfExtents = new Vector3f(3, 4.2f, 1) [all...] |
TestLocalPhysics.java | 40 import com.jme3.math.Vector3f; 66 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0)); 73 physicsSphere2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(4, 8, 0)); 79 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1); 81 physicsBox.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f)); 87 Node physicsCylinder = PhysicsTestHelper.createPhysicsTestNode(assetManager, new CylinderCollisionShape(new Vector3f(1f, 1f, 1.5f)), 1); 88 physicsCylinder.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2, 2, 0)); 95 node2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2.5f, -4, 0f)); 101 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0); 102 node3.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f)) [all...] |
TestSimplePhysics.java | 40 import com.jme3.math.Vector3f; 66 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0)); 72 physicsSphere2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(4, 8, 0)); 77 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1); 79 physicsBox.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f)); 84 Node physicsCylinder = PhysicsTestHelper.createPhysicsTestNode(assetManager, new CylinderCollisionShape(new Vector3f(1f, 1f, 1.5f)), 1); 85 physicsCylinder.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2, 2, 0)); 91 node2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2.5f, -4, 0f)); 96 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0); 97 node3.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f)) [all...] |
TestAttachDriver.java | 70 private Vector3f jumpForce = new Vector3f(0, 3000, 0); 115 Box floor = new Box(Vector3f.ZERO, 100, 1f, 100); 118 floorGeom.setLocalTranslation(new Vector3f(0f, -3, 0f)); 133 BoxCollisionShape box = new BoxCollisionShape(new Vector3f(1.2f, 0.5f, 2.4f)); 134 compoundShape.addChildShape(box, new Vector3f(0, 1, 0)); 152 Vector3f wheelDirection = new Vector3f(0, -1, 0); // was 0, -1, 0 153 Vector3f wheelAxle = new Vector3f(-1, 0, 0); // was -1, 0, [all...] |
TestPhysicsReadWrite.java | 45 import com.jme3.math.Vector3f; 78 physicsSphere.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(3, 6, 0)); 84 physicsSphere2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(4, 8, 0)); 89 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1); 91 physicsBox.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f)); 96 Node physicsCylinder = PhysicsTestHelper.createPhysicsTestNode(assetManager, new CylinderCollisionShape(new Vector3f(1f, 1f, 1.5f)), 1); 97 physicsCylinder.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2, 2, 0)); 103 node2.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(2.5f, -4, 0f)); 108 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0); 109 node3.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -6, 0f)) [all...] |
/external/eigen/demos/opengl/ |
icosphere.h | 20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } 25 std::vector<Eigen::Vector3f> mVertices;
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
CylinderCollisionShape.java | 42 import com.jme3.math.Vector3f; 51 protected Vector3f halfExtents; 61 public CylinderCollisionShape(Vector3f halfExtents) { 72 public CylinderCollisionShape(Vector3f halfExtents, int axis) { 78 public final Vector3f getHalfExtents() { 89 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); 96 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
|
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
DirectionalLight.java | 39 import com.jme3.math.Vector3f; 52 protected Vector3f direction = new Vector3f(0f, -1f, 0f); 64 * @see DirectionalLight#setDirection(com.jme3.math.Vector3f) 66 public Vector3f getDirection() { 78 public void setDirection(Vector3f dir){ 101 direction = (Vector3f) ic.readSavable("direction", null);
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
TransparentComparator.java | 35 import com.jme3.math.Vector3f; 42 private final Vector3f tempVec = new Vector3f(); 63 Vector3f camPosition = cam.getLocation(); 64 Vector3f viewVector = cam.getDirection(); 65 Vector3f spatPosition = null;
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
AnimationFactory.java | 37 import com.jme3.math.Vector3f; 82 Vector3f eulerAngles = new Vector3f(); 132 protected Vector3f[] translations; 140 protected Vector3f[] scales; 144 protected Vector3f[] keyFramesTranslation; 145 protected Vector3f[] keyFramesScale; 170 translations = new Vector3f[totalFrames]; 172 scales = new Vector3f[totalFrames]; 173 keyFramesTranslation = new Vector3f[totalFrames] [all...] |
BoneTrack.java | 36 import com.jme3.math.Vector3f; 74 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations) { 87 public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { 119 public Vector3f[] getScales() { 135 public Vector3f[] getTranslations() { 145 public void setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations) { 168 public void setKeyframes(float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { 198 Vector3f tempV = vars.vect1 [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
LightScatteringFilter.java | 40 import com.jme3.math.Vector3f; 55 private Vector3f lightPosition; 56 private Vector3f screenLightPos = new Vector3f(); 62 Vector3f viewLightPos = new Vector3f(); 77 public LightScatteringFilter(Vector3f lightPosition) { 117 private Vector3f getClipCoordinates(Vector3f worldPosition, Vector3f store, Camera cam) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/ |
BresenhamYUpGridTracer.java | 37 import com.jme3.math.Vector3f; 47 protected Vector3f gridOrigin = new Vector3f(); 48 protected Vector3f gridSpacing = new Vector3f(); 50 protected Vector3f rayLocation = new Vector3f(); 76 Vector3f direction = this.walkRay.getDirection(); 79 Vector3f start = this.walkRay.getOrigin().subtract(gridOrigin); 84 Vector3f ooDirection = new Vector3f(1.0f / direction.x, 1,1.0f / direction.z) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
Arrow.java | 35 import com.jme3.math.Vector3f; 51 private Vector3f tempVec = new Vector3f(); 75 public Arrow(Vector3f extent) { 77 Vector3f dir = extent.normalize(); 79 tempQuat.lookAt(dir, Vector3f.UNIT_Y); 84 Vector3f vec = tempVec.set(positions[i], 115 public void setArrowExtent(Vector3f extent) { 117 // Vector3f dir = extent.normalize(); 119 tempQuat.lookAt(extent, Vector3f.UNIT_Y) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 39 import com.jme3.math.Vector3f;
65 public static void updateFrustumPoints2(Camera viewCam, Vector3f[] points) {
97 Vector3f[] points) {
99 Vector3f pos = viewCam.getLocation();
100 Vector3f dir = viewCam.getDirection();
101 Vector3f up = viewCam.getUp();
127 Vector3f right = dir.cross(up).normalizeLocal();
129 Vector3f temp = new Vector3f();
131 Vector3f farCenter = temp.clone(); [all...] |
BasicShadowRenderer.java | 36 import com.jme3.math.Vector3f;
67 private Vector3f[] points = new Vector3f[8];
68 private Vector3f direction = new Vector3f();
88 points[i] = new Vector3f();
107 public Vector3f getDirection() {
115 public void setDirection(Vector3f direction) {
123 public Vector3f[] getPoints() {
155 Vector3f frustaCenter = new Vector3f(); [all...] |