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

1 2 3 4 56 7 8 91011>>

  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 51 import com.jme3.math.Vector3f;
72 protected javax.vecmath.Vector3f tempVec = new javax.vecmath.Vector3f();
73 protected javax.vecmath.Vector3f tempVec2 = new javax.vecmath.Vector3f();
77 protected javax.vecmath.Vector3f localInertia = new javax.vecmath.Vector3f();
152 public void setPhysicsLocation(Vector3f location) {
182 * Gets the physics object location, instantiates a new Vector3f object
184 public Vector3f getPhysicsLocation()
    [all...]
  /external/eigen/doc/examples/
QuickStart_example2_fixed.cpp 12 Vector3f v(1,2,3);
function_taking_eigenbase.cpp 14 Vector3f v;
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
MeshContext.java 3 import com.jme3.math.Vector3f;
19 private List<Vector3f> vertexList;
49 public List<Vector3f> getVertexList() {
59 public void setVertexList(List<Vector3f> vertexList) {
  /external/jmonkeyengine/engine/src/test/jme3test/blender/
TestBlenderLoader.java 38 import com.jme3.math.Vector3f;
62 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal());
68 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal());
74 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainGridTest.java 18 import com.jme3.math.Vector3f;
64 // regionX: a Vector3f containing the following information:
76 this.mat_terrain.setVector3("region1", new Vector3f(88, 200, this.grassScale));
82 this.mat_terrain.setVector3("region2", new Vector3f(0, 90, this.dirtScale));
88 this.mat_terrain.setVector3("region3", new Vector3f(198, 260, this.rockScale));
91 this.mat_terrain.setVector3("region4", new Vector3f(198, 260, this.rockScale));
117 this.getCamera().setLocation(new Vector3f(0, 200, 0));
122 light.setDirection((new Vector3f(-0.5f, -1f, -0.5f)).normalize());
132 player3.setPhysicsLocation(new Vector3f(cam.getLocation().x, 256, cam.getLocation().z));
138 public void gridMoved(Vector3f newCenter)
    [all...]
TerrainGridTileLoaderTest.java 17 import com.jme3.math.Vector3f;
62 // regionX: a Vector3f containing the following information:
74 this.mat_terrain.setVector3("region1", new Vector3f(88, 200, this.grassScale));
80 this.mat_terrain.setVector3("region2", new Vector3f(0, 90, this.dirtScale));
86 this.mat_terrain.setVector3("region3", new Vector3f(198, 260, this.rockScale));
89 this.mat_terrain.setVector3("region4", new Vector3f(198, 260, this.rockScale));
118 this.getCamera().setLocation(new Vector3f(0, 256, 0));
129 player3.setPhysicsLocation(new Vector3f(cam.getLocation().x, 256, cam.getLocation().z));
135 public void gridMoved(Vector3f newCenter) {
138 public Material tileLoaded(Material material, Vector3f cell)
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/infos/
RigidBodyMotionState.java 37 import com.jme3.math.Vector3f;
49 private Vector3f worldLocation = new Vector3f();
69 Vector3f localLocation = spatial.getLocalTranslation();
97 private synchronized native boolean applyTransform(long stateId, Vector3f location, Quaternion rotation);
102 public Vector3f getWorldLocation() {
107 private native void getWorldLocation(long stateId, Vector3f vec);
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestShadow.java 39 import com.jme3.math.Vector3f;
58 private Vector3f[] points;
61 points = new Vector3f[8];
62 for (int i = 0; i < points.length; i++) points[i] = new Vector3f();
73 cam.setLocation(new Vector3f(0.7804813f, 1.7502685f, -2.1556435f));
79 Box floor = new Box(Vector3f.ZERO, 3, 0.1f, 3);
98 bsr.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());
  /external/jmonkeyengine/engine/src/test/jme3test/model/shape/
TestCustomMesh.java 39 import com.jme3.math.Vector3f;
64 Vector3f [] vertices = new Vector3f[4];
65 vertices[0] = new Vector3f(0,0,0);
66 vertices[1] = new Vector3f(3,0,0);
67 vertices[2] = new Vector3f(0,3,0);
68 vertices[3] = new Vector3f(3,3,0);
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
TangentBinormalGenerator.java 37 import com.jme3.math.Vector3f;
68 public final Vector3f position;
69 public final Vector3f normal;
72 public VertexInfo(Vector3f position, Vector3f normal) {
89 public final Vector3f tangent;
90 public final Vector3f binormal;
91 public final Vector3f normal;
93 public TriangleData(Vector3f tangent, Vector3f binormal, Vector3f normal)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/bounding/
BoundingBox.java 77 public BoundingBox(Vector3f c, float x, float y, float z) {
91 public BoundingBox(Vector3f min, Vector3f max) {
125 Vector3f min = vars.vect1.set(new Vector3f(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY));
126 Vector3f max = vars.vect2.set(new Vector3f(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY));
128 Vector3f point;
155 Vector3f vect1 = vars.vect1;
156 Vector3f vect2 = vars.vect2;
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestTempVars.java 34 import com.jme3.math.Vector3f;
42 private static final Vector3f sumCompute = new Vector3f();
87 Vector3f vector = new Vector3f();
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
CurvesHelper.java 113 List<Vector3f> conrtolPoints = new ArrayList<Vector3f>(extrude > 0.0f ? 19 : 13);
114 conrtolPoints.add(new Vector3f(-bevelDepth, extrude, 0));
115 conrtolPoints.add(new Vector3f(-bevelDepth, handlerLength + extrude, 0));
117 conrtolPoints.add(new Vector3f(-handlerLength, bevelDepth + extrude, 0));
118 conrtolPoints.add(new Vector3f(0, bevelDepth + extrude, 0));
119 conrtolPoints.add(new Vector3f(handlerLength, bevelDepth + extrude, 0));
121 conrtolPoints.add(new Vector3f(bevelDepth, extrude + handlerLength, 0));
122 conrtolPoints.add(new Vector3f(bevelDepth, extrude, 0));
123 conrtolPoints.add(new Vector3f(bevelDepth, extrude - handlerLength, 0));
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
CharacterControl.java 15 import com.jme3.math.Vector3f;
32 protected Vector3f viewDirection = new Vector3f(Vector3f.UNIT_Z);
56 private Vector3f getSpatialTranslation() {
115 public void setViewDirection(Vector3f vec) {
119 public Vector3f getViewDirection() {
134 Vector3f localLocation = spatial.getLocalTranslation();
143 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y);
148 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Spline.java 26 private List<Vector3f> controlPoints = new ArrayList<Vector3f>();
33 private List<Vector3f> CRcontrolPoints;
55 public Spline(SplineType splineType, Vector3f[] controlPoints, float curveTension, boolean cycle) {
57 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!");
60 Vector3f vector3f = controlPoints[i]; local
61 this.controlPoints.add(vector3f);
84 public Spline(SplineType splineType, List<Vector3f> controlPoints, float curveTension, boolean cycle) {
86 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!")
138 Vector3f vector3f = it.next(); local
    [all...]
LineSegment.java 44 * It is also possible to retrieve both end points of the segment {@link LineSegment#getPositiveEnd(Vector3f)}
45 * and {@link LineSegment#getNegativeEnd(Vector3f)}. There are also methods to check whether
56 private Vector3f origin;
57 private Vector3f direction;
61 origin = new Vector3f();
62 direction = new Vector3f();
66 this.origin = new Vector3f(ls.getOrigin());
67 this.direction = new Vector3f(ls.getDirection());
75 public LineSegment(Vector3f origin, Vector3f direction, float extent) {
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
ConstraintDistLimit.java 5 import com.jme3.math.Vector3f;
54 Vector3f targetLocation = ((Spatial) owner).getWorldTranslation();
58 Vector3f[] translations = blenderTrack.getTranslations();
60 Vector3f v = translations[frame].subtract(targetLocation);
72 Vector3f targetLocation = targetWorldMatrix.toTranslationVector();
76 Vector3f ownerLocation = ownerWorldMatrix.toTranslationVector();
88 private void distLimit(Vector3f currentLocation, Vector3f targetLocation, float influence) {
89 Vector3f v = currentLocation.subtract(targetLocation);
  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
PositionTrack.java 15 import com.jme3.math.Vector3f;
30 private Vector3f startPosition;
31 private Vector3f endPosition;
39 public PositionTrack(Spatial spatial, Vector3f endPosition) {
57 public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration, LoopMode loopMode) {
64 public PositionTrack(Spatial spatial, Vector3f endPosition, LoopMode loopMode) {
71 public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration) {
93 Vector3f pos = FastMath.interpolateLinear(value, startPosition, endPosition);
120 endPosition = (Vector3f) ic.readSavable("endPosition", null);
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestRenderToTexture.java 43 import com.jme3.math.Vector3f;
80 offCamera.setLocation(new Vector3f(0f, 0f, -5f));
81 offCamera.lookAt(new Vector3f(0f, 0f, 0f), Vector3f.UNIT_Y);
96 Box boxMesh = new Box(Vector3f.ZERO, 1,1,1);
109 cam.setLocation(new Vector3f(3, 3, 3));
110 cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);
113 Geometry quad = new Geometry("box", new Box(Vector3f.ZERO, 1,1,1));
  /external/jmonkeyengine/engine/src/test/jme3test/water/
TestSceneWater.java 65 cam.setLocation(new Vector3f(-27.0f, 1.0f, 75.0f));
86 Vector3f lightDir=new Vector3f(-0.37352666f, -0.50444174f, -0.7784704f);
97 Vector3f lightPos=lightDir.multLocal(-400);
110 Vector3f waterLocation=new Vector3f(0,-20,0);
111 waterProcessor.setPlane(new Plane(Vector3f.UNIT_Y, waterLocation.dot(Vector3f.UNIT_Y)));
131 water.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
PhysicsGhostObject.java 42 import com.jme3.math.Vector3f;
110 public void setPhysicsLocation(Vector3f location) {
114 private native void setPhysicsLocation(long objectId, Vector3f location);
139 public Vector3f getPhysicsLocation(Vector3f trans) {
141 trans = new Vector3f();
147 private native void getPhysicsLocation(long objectId, Vector3f vector);
178 public Vector3f getPhysicsLocation() {
179 Vector3f vec = new Vector3f();
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Camera.java 126 protected Vector3f location;
222 location = new Vector3f();
398 Vector3f point = clipPlane.getNormal().mult(clipPlane.getConstant());
399 Vector3f pp = ivm.mult(point);
400 Vector3f pn = ivm.multNormal(clipPlane.getNormal(), null);
585 public Vector3f getLocation() {
605 public Vector3f getDirection() {
615 public Vector3f getLeft() {
625 public Vector3f getUp() {
636 public Vector3f getDirection(Vector3f store)
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DebugShapeFactory.java 54 import javax.vecmath.Vector3f;
63 private static final Vector3f aabbMax = new Vector3f(1e30f, 1e30f, 1e30f);
65 private static final Vector3f aabbMin = new Vector3f(-1e30f, -1e30f, -1e30f);
185 final List<Vector3f> hullVertices = hull.getVertexPointer();
186 Vector3f vertexA, vertexB, vertexC;
215 private ArrayList<Vector3f> vertices;
218 vertices = new ArrayList<Vector3f>();
222 public void processTriangle(Vector3f[] triangle, int partId, int triangleIndex)
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
BresenhamTerrainPicker.java 40 import com.jme3.math.Vector3f;
61 private final Triangle gridTriA = new Triangle(new Vector3f(), new Vector3f(), new Vector3f());
62 private final Triangle gridTriB = new Triangle(new Vector3f(), new Vector3f(), new Vector3f());
64 private final Vector3f calcVec1 = new Vector3f();
76 public Vector3f getTerrainIntersection(Ray worldPick, CollisionResults results)
    [all...]

Completed in 726 milliseconds

1 2 3 4 56 7 8 91011>>