/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainGrid.java | 42 import com.jme3.math.Vector3f; 71 * this location is from the center of the map. So for example the index 11 [Vector3f(2, 0, 1)] 105 protected Vector3f currentCamCell = Vector3f.ZERO; 110 protected Vector3f[] quadIndex; 113 protected LRUCache<Vector3f, TerrainQuad> cache = new LRUCache<Vector3f, TerrainQuad>(16); 120 protected final Vector3f location; 122 public UpdateQuadCache(Vector3f location) { 139 final Vector3f quadCell = location.add(quadIndex[quadIdx]) [all...] |
TerrainGridTileLoader.java | 8 import com.jme3.math.Vector3f; 16 public TerrainQuad getTerrainQuadAt(Vector3f location);
|
/external/eigen/doc/examples/ |
TutorialLinAlgExSolveColPivHouseholderQR.cpp | 10 Vector3f b; 15 Vector3f x = A.colPivHouseholderQr().solve(b);
|
Tutorial_PartialLU_solve.cpp | 11 Vector3f b; 16 Vector3f x = A.lu().solve(b);
|
/external/eigen/doc/snippets/ |
Tutorial_solve_reuse_decomposition.cpp | 4 Vector3f b; 6 Vector3f x;
|
Tutorial_solve_singular.cpp | 2 Vector3f b; 7 Vector3f x;
|
Tutorial_solve_triangular.cpp | 2 Vector3f b; 7 Vector3f x = A.triangularView<Upper>().solve(b);
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/ |
ChildCollisionShape.java | 11 import com.jme3.math.Vector3f; 20 public Vector3f location; 27 public ChildCollisionShape(Vector3f location, Matrix3f rotation, CollisionShape shape) { 35 capsule.write(location, "location", new Vector3f()); 37 capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1))); 42 location = (Vector3f) capsule.readSavable("location", new Vector3f()); 44 shape = (CollisionShape) capsule.readSavable("shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
OpaqueComparator.java | 36 import com.jme3.math.Vector3f;
43 private final Vector3f tempVec = new Vector3f();
44 private final Vector3f tempVec2 = new Vector3f();
57 Vector3f camPosition = cam.getLocation();
58 Vector3f viewVector = cam.getDirection(tempVec2);
59 Vector3f spatPosition = null;
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
BoxCollisionShape.java | 40 import com.jme3.math.Vector3f; 49 private Vector3f halfExtents; 58 public BoxCollisionShape(Vector3f halfExtents) { 63 public final Vector3f getHalfExtents() { 70 capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1)); 76 Vector3f halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(1, 1, 1));
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/ |
TerrainPicker.java | 37 import com.jme3.math.Vector3f; 51 * @return null if no pick is found. Otherwise it returns a Vector3f populated with the pick 54 public Vector3f getTerrainIntersection(final Ray worldPick, CollisionResults results);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
VehicleWheel.java | 38 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...] |
PhysicsRigidBody.java | 46 import com.jme3.math.Vector3f; 144 public void setPhysicsLocation(Vector3f location) { 148 private native void setPhysicsLocation(long objectId, Vector3f location); 173 public Vector3f getPhysicsLocation(Vector3f trans) { 175 trans = new Vector3f(); 181 private native void getPhysicsLocation(long objectId, Vector3f vector); 212 public Vector3f getPhysicsLocation() { 213 Vector3f vec = new Vector3f(); [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
DebugMeshCallback.java | 34 import com.jme3.math.Vector3f; 45 private ArrayList<Vector3f> list = new ArrayList<Vector3f>(); 48 list.add(new Vector3f(x, y, z)); 54 Vector3f vector3f = list.get(i); local 55 buf.put(vector3f.x); 56 buf.put(vector3f.y); 57 buf.put(vector3f.z);
|
/external/jmonkeyengine/engine/src/test/jme3test/bounding/ |
TestRayCollision.java | 38 import com.jme3.math.Vector3f; 46 Ray r = new Ray(Vector3f.ZERO, Vector3f.UNIT_X); 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1); 59 Vector3f pt = res.getCollision(i).getContactPoint();
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestRagDoll.java | 16 import com.jme3.math.Vector3f; 28 private Vector3f upforce = new Vector3f(0, 200, 0); 48 shoulders = createLimb(0.2f, 1.0f, new Vector3f(0.00f, 1.5f, 0), true); 49 Node uArmL = createLimb(0.2f, 0.5f, new Vector3f(-0.75f, 0.8f, 0), false); 50 Node uArmR = createLimb(0.2f, 0.5f, new Vector3f(0.75f, 0.8f, 0), false); 51 Node lArmL = createLimb(0.2f, 0.5f, new Vector3f(-0.75f, -0.2f, 0), false); 52 Node lArmR = createLimb(0.2f, 0.5f, new Vector3f(0.75f, -0.2f, 0), false); 53 Node body = createLimb(0.2f, 1.0f, new Vector3f(0.00f, 0.5f, 0), false); 54 Node hips = createLimb(0.2f, 0.5f, new Vector3f(0.00f, -0.5f, 0), true) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
Pose.java | 36 import com.jme3.math.Vector3f; 49 private Vector3f[] offsets; 52 private transient final Vector3f tempVec = new Vector3f(); 53 private transient final Vector3f tempVec2 = new Vector3f(); 55 public Pose(String name, int targetMeshIndex, Vector3f[] offsets, int[] indices){ 75 Vector3f offset = offsets[i]; 100 result.offsets = new Vector3f[this.offsets.length]; 123 offsets = (Vector3f[]) in.readSavableArray("offsets", null) [all...] |
CompactVector3Array.java | 36 import com.jme3.math.Vector3f;
40 * Serialize and compress Vector3f[] by indexing same values
43 public class CompactVector3Array extends CompactArray<Vector3f> implements Savable {
66 protected final Class<Vector3f> getElementClass() {
67 return Vector3f.class;
86 protected void serialize(int i, Vector3f store) {
94 protected Vector3f deserialize(int i, Vector3f store) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
DefaultParticleInfluencer.java | 10 import com.jme3.math.Vector3f; 22 protected transient Vector3f temp = new Vector3f(); 24 protected Vector3f startVelocity = new Vector3f(); 51 oc.write(startVelocity, "startVelocity", Vector3f.ZERO); 58 startVelocity = (Vector3f) ic.readSavable("startVelocity", Vector3f.ZERO.clone()); 74 public void setInitialVelocity(Vector3f initialVelocity) { 79 public Vector3f getInitialVelocity() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Line.java | 39 import com.jme3.math.Vector3f; 53 private Vector3f start; 54 private Vector3f end; 59 public Line(Vector3f start, Vector3f end) { 64 protected void updateGeometry(Vector3f start, Vector3f end) { 85 public void updatePoints(Vector3f start, Vector3f end) { 98 public Vector3f getEnd() [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/motors/ |
TranslationalLimitMotor.java | 35 import com.jme3.math.Vector3f; 53 public Vector3f getLowerLimit() { 57 public void setLowerLimit(Vector3f lowerLimit) { 61 public Vector3f getUpperLimit() { 65 public void setUpperLimit(Vector3f upperLimit) { 69 public Vector3f getAccumulatedImpulse() { 73 public void setAccumulatedImpulse(Vector3f accumulatedImpulse) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
FastMath.java | 129 * @param store a vector3f to store the result 132 public static Vector3f interpolateLinear(float scale, Vector3f startValue, Vector3f endValue, Vector3f store) { 134 store = new Vector3f(); 154 public static Vector3f interpolateLinear(float scale, Vector3f startValue, Vector3f endValue) { 186 public static Vector3f extrapolateLinear(float scale, Vector3f startValue, Vector3f endValue, Vector3f store) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
SweepSphere.java | 45 private Vector3f velocity = new Vector3f(); 46 private Vector3f center = new Vector3f(); 47 private Vector3f dimension = new Vector3f(); 48 private Vector3f invDim = new Vector3f(); 52 private final Vector3f temp1 = new Vector3f(), [all...] |
CollisionResult.java | 36 import com.jme3.math.Vector3f; 50 private Vector3f contactPoint; 51 private Vector3f contactNormal; 55 public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex) { 62 public CollisionResult(Vector3f contactPoint, float distance) { 74 public void setContactNormal(Vector3f norm){ 78 public void setContactPoint(Vector3f point){ 118 public Vector3f getContactPoint() { 122 public Vector3f getContactNormal() {
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
EmitterSphereShape.java | 39 import com.jme3.math.Vector3f; 44 private Vector3f center; 50 public EmitterSphereShape(Vector3f center, float radius) { 75 public void getRandomPoint(Vector3f store) { 84 public void getRandomPointAndNormal(Vector3f store, Vector3f normal) { 88 public Vector3f getCenter() { 92 public void setCenter(Vector3f center) { 114 center = (Vector3f) ic.readSavable("center", null);
|