Searched refs:waterHeight (Results 1 - 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
H A DWaterFilter.java91 private float waterHeight = 0.0f; field in class:WaterFilter
147 material.setFloat("WaterHeight", waterHeight);
152 plane = new Plane(Vector3f.UNIT_Y, new Vector3f(0, waterHeight, 0).dot(Vector3f.UNIT_Y));
184 if (sceneCam.getLocation().y >= waterHeight) {
245 plane = new Plane(Vector3f.UNIT_Y, new Vector3f(0, waterHeight, 0).dot(Vector3f.UNIT_Y));
309 oc.write(waterHeight, "waterHeight", 0.0f);
353 waterHeight = ic.readFloat("waterHeight", 0.0f);
396 return waterHeight;
404 setWaterHeight(float waterHeight) argument
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/water/
H A DTestPostWater.java138 uw=cam.getLocation().y<waterHeight;
275 private float waterHeight = 0.0f; field in class:TestPostWater
283 waterHeight = (float) Math.cos(((time * 0.6f) % FastMath.TWO_PI)) * 1.5f;
284 water.setWaterHeight(initialWaterHeight + waterHeight);

Completed in 83 milliseconds