/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/chromium_org/chrome/renderer/resources/extensions/ |
D | image_util.js | 30 var heightScale = imageSpec.height / img.height; 31 if (heightScale < scaleFactor) 32 scaleFactor = heightScale;
|
/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/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutSize.h | 84 void scale(float widthScale, float heightScale) in scale() argument 87 m_height *= heightScale; in scale() 122 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); in fitToAspectRatio() local 124 if ((widthScale > heightScale) != (fit == AspectRatioFitGrow)) in fitToAspectRatio()
|
D | IntSize.h | 66 void scale(float widthScale, float heightScale) in scale() argument 69 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale); in scale()
|
D | FloatRect.cpp | 263 float heightScale = destRect.height() / srcRect.height(); in mapRect() local 265 destRect.y() + (r.y() - srcRect.y()) * heightScale, in mapRect() 266 r.width() * widthScale, r.height() * heightScale); in mapRect()
|
/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/chromium_org/third_party/WebKit/Source/core/html/ |
D | ImageDocument.cpp | 228 float heightScale = (float)windowSize.height() / imageSize.height(); in scale() local 230 return min(widthScale, heightScale); in scale()
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | ImageResource.cpp | 252 float heightScale = m_image->hasRelativeHeight() ? 1.0f : multiplier; in imageSizeForRenderer() local 254 imageSize.scale(widthScale, heightScale); in imageSizeForRenderer()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderThemeChromiumMac.mm | 826 CGFloat heightScale = r.height() / kSquareSize; 828 heightScale, 0, // A B 829 0, heightScale, // C D
|