/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 38 import com.jme3.math.Vector2f;
71 points[0].set(viewCam.getWorldCoordinates(new Vector2f(0, 0), n));
72 points[1].set(viewCam.getWorldCoordinates(new Vector2f(0, h), n));
73 points[2].set(viewCam.getWorldCoordinates(new Vector2f(w, h), n));
74 points[3].set(viewCam.getWorldCoordinates(new Vector2f(w, 0), n));
76 points[4].set(viewCam.getWorldCoordinates(new Vector2f(0, 0), f));
77 points[5].set(viewCam.getWorldCoordinates(new Vector2f(0, h), f));
78 points[6].set(viewCam.getWorldCoordinates(new Vector2f(w, h), f));
79 points[7].set(viewCam.getWorldCoordinates(new Vector2f(w, 0), f));
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
TangentBinormalGenerator.java | 36 import com.jme3.math.Vector2f; 133 Vector2f[] t = new Vector2f[3]; 136 t[i] = new Vector2f(); 182 int[] index, Vector3f[] v, Vector2f[] t) { 213 int[] index, Vector3f[] v, Vector2f[] t) { 248 Vector2f tTemp = t[0]; 261 int[] index, Vector3f[] v, Vector2f[] t) { 293 Vector2f tTemp = t[1]; 309 Vector3f[] v, Vector2f[] t) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
TextureAtlas.java | 38 import com.jme3.math.Vector2f; 635 public Vector2f getLocation(Vector2f previousLocation) { 640 Vector2f location = new Vector2f(x, y); 654 Vector2f tex = new Vector2f(); 663 Vector2f location = getLocation(tex);
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
Uniform.java | 99 oc.write( (Vector2f)value, "valueVector2", null); 243 this.value = Vector2f.ZERO; 302 Vector2f[] v2a = (Vector2f[]) value;
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainPatch.java | 98 protected Vector2f offset;
142 this(name, size, stepScale, heightMap, origin, size, new Vector2f(), 0);
170 Vector2f offset, float offsetAmount) {
181 Mesh m = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false);
252 public Vector2f getTex(float x, float z, Vector2f store) {
254 store.set(Vector2f.ZERO);
562 // LODGeomap.calculateTangent(new Vector3f[]{rootPoint.mult(scale),rightPoint.mult(scale),bottomPoint.mult(scale)}, new Vector2f[]{rootTex,rightTex,bottomTex}, tangent, binormal);
649 public Vector2f getOffset() {
661 public void setOffset(Vector2f offset) { [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestBrickTower.java | 51 import com.jme3.math.Vector2f; 104 brick.scaleTextureCoordinates(new Vector2f(1f, .5f)); 182 floorBox.scaleTextureCoordinates(new Vector2f(3, 6));
|
TestBrickWall.java | 48 import com.jme3.math.Vector2f;
94 brick.scaleTextureCoordinates(new Vector2f(1f, .5f));
155 floorBox.scaleTextureCoordinates(new Vector2f(3, 6));
|
TestRagdollCharacter.java | 50 import com.jme3.math.Vector2f; 143 brick.scaleTextureCoordinates(new Vector2f(1f, .5f));
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloPhysics.java | 44 import com.jme3.math.Vector2f;
91 box.scaleTextureCoordinates(new Vector2f(1f, .5f));
94 floor.scaleTextureCoordinates(new Vector2f(3, 6));
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainTestCollision.java | 53 import com.jme3.math.Vector2f; 253 Vector3f origin = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2), 0.0f); 254 Vector3f direction = cam.getWorldCoordinates(new Vector2f(settings.getWidth() / 2, settings.getHeight() / 2), 0.3f); 266 Vector2f loc = new Vector2f(hit.getContactPoint().x, hit.getContactPoint().z);
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
FastMath.java | 691 public static int counterClockwise(Vector2f p0, Vector2f p1, Vector2f p2) { 721 public static int pointInsideTriangle(Vector2f t0, Vector2f t1, Vector2f t2, Vector2f p) { [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
WaterFilter.java | 105 private Vector2f windDirection = new Vector2f(0.0f, -1.0f); 327 oc.write(windDirection, "windDirection", new Vector2f(0.0f, -1.0f)); 371 windDirection = (Vector2f) ic.readSavable("windDirection", new Vector2f(0.0f, -1.0f)); 803 public Vector2f getWindDirection() { 813 public void setWindDirection(Vector2f windDirection) { [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
OBJLoader.java | 38 import com.jme3.math.Vector2f; 68 protected final ArrayList<Vector2f> texCoords = new ArrayList<Vector2f>(); 94 Vector2f vt; 296 protected Vector2f readVector2(){ 297 Vector2f v = new Vector2f();
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshHelper.java | 45 import com.jme3.math.Vector2f;
138 List<Vector2f> uvCoordinates = null;
147 uvCoordinates = new ArrayList<Vector2f>();
173 uvCoordinates.add(new Vector2f(uvs.get(0, 0).floatValue(), uvs.get(0, 1).floatValue()));
174 uvCoordinates.add(new Vector2f(uvs.get(1, 0).floatValue(), uvs.get(1, 1).floatValue()));
175 uvCoordinates.add(new Vector2f(uvs.get(2, 0).floatValue(), uvs.get(2, 1).floatValue()));
219 uvCoordinates.add(new Vector2f(uvs.get(0, 0).floatValue(), uvs.get(0, 1).floatValue()));
220 uvCoordinates.add(new Vector2f(uvs.get(2, 0).floatValue(), uvs.get(2, 1).floatValue()));
221 uvCoordinates.add(new Vector2f(uvs.get(3, 0).floatValue(), uvs.get(3, 1).floatValue()));
298 BufferUtils.createFloatBuffer(uvCoordinates.toArray(new Vector2f[uvCoordinates.size()]))); [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNodeTower.java | 51 import com.jme3.math.Vector2f; 112 brick.scaleTextureCoordinates(new Vector2f(1f, .5f)); 196 floorBox.scaleTextureCoordinates(new Vector2f(3, 6));
|
/external/eigen/test/ |
array_replicate.cpp | 64 CALL_SUBTEST_2( replicate(Vector2f()) );
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestTransparentSSAO.java | 34 q.scaleTextureCoordinates(Vector2f.UNIT_XY.mult(5));
|
/external/eigen/demos/opengl/ |
camera.cpp | 246 Vector3f Camera::unProject(const Vector2f& uv, float depth) const 252 Vector3f Camera::unProject(const Vector2f& uv, float depth, const Matrix4f& invModelview) const
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
MatParam.java | 174 Vector2f v2 = (Vector2f) value; 181 Vector2f[] v2Arr = (Vector2f[]) value;
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/ |
BresenhamTerrainPicker.java | 39 import com.jme3.math.Vector2f; 100 final Vector2f loc = tracer.getGridLocation();
|
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
AndroidInput.java | 17 import com.jme3.math.Vector2f;
44 final private HashMap<Integer, Vector2f> lastPositions = new HashMap<Integer, Vector2f>();
267 Vector2f lastPos = lastPositions.get(pointerIndex);
269 lastPos = new Vector2f(event.getX(pointerIndex), this.getHeight() - event.getY(pointerIndex));
|
/external/eigen/unsupported/test/ |
openglsupport.cpp | 181 Vector2f vf2; vf2.setRandom(); Vector3f vf23; vf23 << vf2, 0; 200 Vector2f vf2; vf2.setRandom(); Vector3f vf23; vf23 << vf2, 1; 238 VERIFY_UNIFORM(fv,v2f, Vector2f);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 37 import com.jme3.math.Vector2f; 257 Vector2f temp = new Vector2f();
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
InputManager.java | 38 import com.jme3.math.Vector2f;
99 private Vector2f cursorPos = new Vector2f();
657 public Vector2f getCursorPosition() {
[all...] |
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestSpotLight.java | 105 floor.scaleTextureCoordinates(new Vector2f(5, 5));
|