Searched refs:heightScale (Results 1 - 10 of 10) sorted by relevance

/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_HeightfieldCollisionShape.cpp50 (JNIEnv * env, jobject object, jint heightStickWidth, jint heightStickLength, jobject heightfieldData, jfloat heightScale, jfloat minHeight, jfloat maxHeight, jint upAxis, jboolean flipQuadEdges) {
53 btHeightfieldTerrainShape* shape=new btHeightfieldTerrainShape(heightStickWidth, heightStickLength, data, heightScale, minHeight, maxHeight, upAxis, PHY_FLOAT, flipQuadEdges);
49 Java_com_jme3_bullet_collision_shapes_HeightfieldCollisionShape_createShape(JNIEnv * env, jobject object, jint heightStickWidth, jint heightStickLength, jobject heightfieldData, jfloat heightScale, jfloat minHeight, jfloat maxHeight, jint upAxis, jboolean flipQuadEdges) argument
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
H A DFractalTileLoader.java45 private final float heightScale; field in class:FractalTileLoader
47 public FractalTileLoader(Basis base, float heightScale) { argument
49 this.heightScale = heightScale;
59 arr[i] = arr[i] * this.heightScale;
H A DImageTileLoader.java31 private float heightScale = 1; field in class:ImageTileLoader
52 public void setHeightScale(float heightScale) { argument
53 this.heightScale = heightScale;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageBasedHeightMap.java74 public ImageBasedHeightMap(Image colorImage, float heightScale) { argument
76 this.heightScale = heightScale;
116 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
121 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
130 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
135 heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale;
164 return byte2float(buf.get())*255*heightScale;
168 return (sbuf.get() & 0xFFFF) / 65535f * 255f * heightScale;
H A DAbstractHeightMap.java62 protected float heightScale = 1.0f; field in class:AbstractHeightMap
85 heightScale = scale;
167 return ((heightData[x + (z * size)]) * heightScale);
224 hm[i] = heightScale * heightData[i];
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
H A DHeightfieldCollisionShape.java36 protected float heightScale; field in class:HeightfieldCollisionShape
57 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale
106 objectId = createShape(heightStickWidth, heightStickLength, bbuf, heightScale, minHeight, maxHeight, upAxis, flipQuadEdges);
112 private native long createShape(int heightStickWidth, int heightStickLength, ByteBuffer heightfieldData, float heightScale, float minHeight, float maxHeight, int upAxis, boolean flipQuadEdges); argument
124 capsule.write(heightScale, "heightScale", 0);
137 heightScale = capsule.readFloat("heightScale", 0);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
H A DHeightfieldCollisionShape.java36 protected float heightScale; field in class:HeightfieldCollisionShape
56 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale
94 HeightfieldTerrainShape shape = new HeightfieldTerrainShape(heightStickWidth, heightStickLength, heightfieldData, heightScale, minHeight, maxHeight, upAxis, flipQuadEdges);
111 capsule.write(heightScale, "heightScale", 0);
124 heightScale = capsule.readFloat("heightScale", 0);
/external/webkit/Source/WebCore/platform/graphics/
H A DFloatRect.cpp202 float heightScale = destRect.height() / srcRect.height(); local
204 destRect.y() + (r.y() - srcRect.y()) * heightScale,
205 r.width() * widthScale, r.height() * heightScale);
/external/webkit/Source/WebCore/html/
H A DImageDocument.cpp242 float heightScale = (float)windowSize.height() / imageSize.height(); local
244 return min(widthScale, heightScale);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DPlatformGraphicsContextRecording.cpp783 float heightScale = dst.height() == 0 ? 1 : bitmap.height() / dst.height(); local
784 m_maxZoomScale = std::max(m_maxZoomScale, std::max(widthScale, heightScale));

Completed in 226 milliseconds