net.groboclown.gui.tripleBuffer.v1.test
Class TerrainMap
java.lang.Object
|
+--net.groboclown.gui.tripleBuffer.v1.test.TerrainMap
- class TerrainMap
- extends Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
MAP_X
int MAP_X
MAP_Y
int MAP_Y
lightSourceX
float lightSourceX
lightSourceY
float lightSourceY
lightSourceZ
float lightSourceZ
lightSourceR
float lightSourceR
lightSourceG
float lightSourceG
lightSourceB
float lightSourceB
lightSourceNX
float lightSourceNX
lightSourceNY
float lightSourceNY
lightSourceNZ
float lightSourceNZ
heightMap
byte[][] heightMap
units
Unit[] units
TerrainMap
public TerrainMap()
TerrainMap
public TerrainMap(int dim_x,
int dim_y)
moveLightBy
public void moveLightBy(float dx,
float dy,
float dz)
moveLight
public void moveLight(float x,
float y,
float z)
setLightSourceColor
public void setLightSourceColor(float r,
float g,
float b)
normalizeLight
protected void normalizeLight()
smooth
protected void smooth(int x,
int y)
Written under the LGPL