HomeSort by relevance Sort by last modified time
    Searched refs:Vector2f (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Vector2f.java 43 * <code>Vector2f</code> defines a Vector for a two float value vector.
48 public final class Vector2f implements Savable, Cloneable, java.io.Serializable {
51 private static final Logger logger = Logger.getLogger(Vector2f.class.getName());
53 public static final Vector2f ZERO = new Vector2f(0f, 0f);
54 public static final Vector2f UNIT_XY = new Vector2f(1f, 1f);
66 * Creates a Vector2f with the given initial x and y values.
69 * The x value of this Vector2f.
71 * The y value of this Vector2f
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
Terrain.java 35 import com.jme3.math.Vector2f;
57 public float getHeight(Vector2f xz);
66 public Vector3f getNormal(Vector2f xz);
74 public float getHeightmapHeight(Vector2f xz);
84 public void setHeight(Vector2f xzCoordinate, float height);
94 public void setHeight(List<Vector2f> xz, List<Float> height);
101 public void adjustHeight(Vector2f xzCoordinate, float delta);
111 public void adjustHeight(List<Vector2f> xz, List<Float> height);
GeoMap.java 35 import com.jme3.math.Vector2f;
266 public Vector2f getUV(int x, int y, Vector2f store){
272 public Vector2f getUV(int i, Vector2f store){
276 public FloatBuffer writeTexCoordArray(FloatBuffer store, Vector2f offset, Vector2f scale){
285 offset = new Vector2f();
287 Vector2f tcStore = new Vector2f();
    [all...]
  /external/eigen/doc/snippets/
Jacobi_makeGivens.cpp 0 Vector2f v = Vector2f::Random();
  /external/jmonkeyengine/engine/src/test/jme3test/model/shape/
TestCustomMesh.java 38 import com.jme3.math.Vector2f;
71 Vector2f [] texCoord = new Vector2f[4];
72 texCoord[0] = new Vector2f(0,0);
73 texCoord[1] = new Vector2f(1,0);
74 texCoord[2] = new Vector2f(0,1);
75 texCoord[3] = new Vector2f(1,1);
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
TempVars.java 182 public final Vector2f vect2d = new Vector2f();
183 public final Vector2f vect2d2 = new Vector2f();
BufferUtils.java 36 import com.jme3.math.Vector2f;
447 // // -- VECTOR2F METHODS -- ////
449 * Generate a new FloatBuffer using the given array of Vector2f objects.
453 * @param data array of Vector2f objects to place into a new FloatBuffer
455 public static FloatBuffer createFloatBuffer(Vector2f... data) {
473 * number of Vector2f object data.
487 * number of Vector2f object data only if the given buffer if not already
507 * Sets the data contained in the given Vector2F into the FloatBuffer at the
517 public static void setInBuffer(Vector2f vector, FloatBuffer buf, int index) {
534 public static void populateFromBuffer(Vector2f vector, FloatBuffer buf, int index)
    [all...]
  /external/eigen/unsupported/test/
autodiff.cpp 133 typedef AutoDiffScalar<Vector2f> AD;
134 AD ax(1,Vector2f::UnitX());
135 AD ay(2,Vector2f::UnitY());
143 std::cerr << foo<Vector2f>(Vector2f(1,2)) << "\n";
144 typedef AutoDiffScalar<Vector2f> AD;
147 p.x().derivatives() = Vector2f::UnitX();
148 p.y().derivatives() = Vector2f::UnitY();
  /external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
SSAOFilter.java 40 import com.jme3.math.Vector2f;
65 private Vector2f frustumNearFar;
66 private Vector2f[] samples = {new Vector2f(1.0f, 0.0f), new Vector2f(-1.0f, 0.0f), new Vector2f(0.0f, 1.0f), new Vector2f(0.0f, -1.0f)};
132 frustumNearFar = new Vector2f();
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
TestTexture3DLoading.java 11 import com.jme3.math.Vector2f;
42 q.scaleTextureCoordinates(new Vector2f(rows, rows));
  /external/eigen/test/eigen2/
eigen2_regression.cpp 86 Vector2f points2f [1000];
87 Vector2f *points2f_ptrs [1000];
89 Vector2f coeffs2f;
101 Vector2f points2f [1000];
102 Vector2f *points2f_ptrs [1000];
eigen2_unalignedassert.cpp 25 Vector2f m; // good: same reason
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
BresenhamYUpGridTracer.java 36 import com.jme3.math.Vector2f;
49 protected Vector2f gridLocation = new Vector2f();
169 public Vector2f getGridLocation() {
182 public void setGridLocation(Vector2f gridLocation) {
  /external/jmonkeyengine/engine/src/test/jme3test/collision/
RayTrace.java 37 import com.jme3.math.Vector2f;
82 Vector2f v = new Vector2f(x * wr,y * hr);
  /external/eigen/test/
unalignedassert.cpp 26 Vector2f m; // good: m's size isn't a multiple of 16 bytes, so m doesn't have to be 16-byte aligned
83 construct_at_boundary<Vector2f>(4);
geo_alignedbox.cpp 98 Vector2f m; m << -1.0f, -2.0f;
99 Vector2f M; M << 1.0f, 5.0f;
104 Vector2f sides = M-m;
116 Vector2f bottomRight; bottomRight << M[0], m[1];
117 Vector2f topLeft; topLeft << m[0], M[1];
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestSSAO.java 39 import com.jme3.math.Vector2f;
79 model.getMesh().scaleTextureCoordinates(new Vector2f(2, 2));
  /external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
MotionPath.java 41 import com.jme3.math.Vector2f;
87 Vector2f v = getWayPointIndexForDistance(traveledDistance);
171 public Vector2f getWayPointIndexForDistance(float distance) {
177 return new Vector2f((float) i, (distance - sum) / len);
182 return new Vector2f((float) spline.getControlPoints().size() - 1, 1.0f);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LODGeomap.java 39 import com.jme3.math.Vector2f;
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) {
105 public FloatBuffer writeTexCoordArray(FloatBuffer store, Vector2f offset, Vector2f scale, float offsetAmount, int totalSize) {
115 offset = new Vector2f();
118 Vector2f tcStore = new Vector2f();
    [all...]
TerrainQuad.java 46 import com.jme3.math.Vector2f;
94 protected Vector2f offset;
177 this(name, patchSize, size, scale, heightMap, size, new Vector2f(), 0);
195 this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0);
203 Vector2f offset, float offsetAmount)
700 Vector2f tempOffset = new Vector2f();
731 tempOffset = new Vector2f();
751 tempOffset = new Vector2f();
771 tempOffset = new Vector2f();
    [all...]
TerrainGrid.java 41 import com.jme3.math.Vector2f;
195 Vector2f offset, float offsetAmount) {
210 this(name, patchSize, maxVisibleSize, scale, terrainQuadGrid, new Vector2f(), 0);
219 Vector2f offset, float offsetAmount) {
234 this(name, patchSize, maxVisibleSize, scale, heightMapGrid, new Vector2f(), 0);
453 public void adjustHeight(List<Vector2f> xz, List<Float> height) {
455 for (Vector2f vect : xz) {
491 offset = (Vector2f) c.readSavable("offset", null);
  /external/jmonkeyengine/engine/src/test/jme3test/terrain/
TerrainTestModifyHeight.java 49 import com.jme3.math.Vector2f;
120 float h = terrain.getHeight(new Vector2f(intersection.x, intersection.z));
125 Vector3f normal = terrain.getNormal(new Vector2f(intersection.x, intersection.z));
221 List<Vector2f> locs = new ArrayList<Vector2f>();
233 locs.add(new Vector2f(locX, locZ));
245 Vector2f point = new Vector2f(x, y);
252 Vector2f point = new Vector2f(x, z)
    [all...]
  /external/eigen/demos/opengl/
camera.h 90 Eigen::Vector3f unProject(const Eigen::Vector2f& uv, float depth, const Eigen::Matrix4f& invModelview) const;
91 Eigen::Vector3f unProject(const Eigen::Vector2f& uv, float depth) const;
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVCoordinatesGenerator.java 37 import com.jme3.math.Vector2f;
114 Vector2f[] data = new Vector2f[] { new Vector2f(0, 1), new Vector2f(0, 0), new Vector2f(1, 0) };
116 Vector2f uv = data[i % 3];
  /external/jmonkeyengine/engine/src/core/com/jme3/post/
HDRRenderer.java 37 import com.jme3.math.Vector2f;
173 Vector2f blockSize = new Vector2f(1f / bufW, 1f / bufH);
174 Vector2f pixelSize = new Vector2f(1f / srcW, 1f / srcH);
175 Vector2f blocks = new Vector2f();

Completed in 277 milliseconds

1 2 3 4