/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | ImageBasedHeightMap.java | 74 public ImageBasedHeightMap(Image colorImage, float heightScale) { in ImageBasedHeightMap() argument 76 this.heightScale = heightScale; in ImageBasedHeightMap() 116 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 121 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 130 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 135 … heightData[index++] = getHeightAtPostion(buf, colorImage, baseIndex, colorStore)*heightScale; in load() 164 return byte2float(buf.get())*255*heightScale; in getHeightAtPostion() 168 return (sbuf.get() & 0xFFFF) / 65535f * 255f * heightScale; in getHeightAtPostion()
|
D | AbstractHeightMap.java | 62 protected float heightScale = 1.0f; field in AbstractHeightMap 85 heightScale = scale; in setHeightScale() 167 return ((heightData[x + (z * size)]) * heightScale); in getScaledHeightAtPoint() 224 hm[i] = heightScale * heightData[i]; in getScaledHeightMap()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
D | FractalTileLoader.java | 45 private final float heightScale; field in FractalTileLoader 47 public FractalTileLoader(Basis base, float heightScale) { in FractalTileLoader() argument 49 this.heightScale = heightScale; in FractalTileLoader() 59 arr[i] = arr[i] * this.heightScale; in getHeightMapAt()
|
D | ImageTileLoader.java | 31 private float heightScale = 1; field in ImageTileLoader 52 public void setHeightScale(float heightScale) { in setHeightScale() argument 53 this.heightScale = heightScale; in setHeightScale()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | HeightfieldCollisionShape.java | 36 protected float heightScale; field in HeightfieldCollisionShape 57 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale in createCollisionHeightfield() 106 …objectId = createShape(heightStickWidth, heightStickLength, bbuf, heightScale, minHeight, maxHeigh… in createShape() 112 …htStickWidth, int heightStickLength, ByteBuffer heightfieldData, float heightScale, float minHeigh… in createShape() argument 124 capsule.write(heightScale, "heightScale", 0); in write() 137 heightScale = capsule.readFloat("heightScale", 0); in read()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | HeightfieldCollisionShape.java | 36 protected float heightScale; field in HeightfieldCollisionShape 56 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale in createCollisionHeightfield() 94 …ieldTerrainShape(heightStickWidth, heightStickLength, heightfieldData, heightScale, minHeight, max… in createShape() 111 capsule.write(heightScale, "heightScale", 0); in write() 124 heightScale = capsule.readFloat("heightScale", 0); in read()
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_collision_shapes_HeightfieldCollisionShape.cpp | 50 …ghtStickWidth, jint heightStickLength, jobject heightfieldData, jfloat heightScale, jfloat minHeig… in Java_com_jme3_bullet_collision_shapes_HeightfieldCollisionShape_createShape() argument 53 …w btHeightfieldTerrainShape(heightStickWidth, heightStickLength, data, heightScale, minHeight, max… in Java_com_jme3_bullet_collision_shapes_HeightfieldCollisionShape_createShape()
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | GBuf.frag | 45 float heightScale = 0.05; 46 float heightBias = heightScale * -0.5; 47 height = (height * heightScale + heightBias);
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Parallax.glsllib | 72 float heightScale = parallaxScale; 73 float heightBias = heightScale* -0.6; 75 h = (h * heightScale + heightBias) * normView.z;
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | FloatRect.cpp | 202 float heightScale = destRect.height() / srcRect.height(); in mapRect() local 204 destRect.y() + (r.y() - srcRect.y()) * heightScale, in mapRect() 205 r.width() * widthScale, r.height() * heightScale); in mapRect()
|
/external/webkit/Source/WebCore/html/ |
D | ImageDocument.cpp | 242 float heightScale = (float)windowSize.height() / imageSize.height(); in scale() local 244 return min(widthScale, heightScale); in scale()
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
D | PlatformGraphicsContextRecording.cpp | 784 float heightScale = dst.height() == 0 ? 1 : bitmap.height() / dst.height(); in drawBitmapRect() local 785 m_maxZoomScale = std::max(m_maxZoomScale, std::max(widthScale, heightScale)); in drawBitmapRect()
|