* "default" height values.
*
* @param MCNKIndex
*/
public void calcLOD(int MCNKIndex) {
MCVT o = obj.mcnk[MCNKIndex].mcvt;
for(int y=0; y<8; y++) {
for(int x=0; x<8; x++) {
float a, b, c, d, r;
a = o.getValNoLOD(x, y);
b = o.getValNoLOD(x+1, y);
c = o.getValNoLOD(x, y+1);
d = o.getValNoLOD(x+1, y+1);
r = (a+b+c+d) / 4;
o.setValLOD(x, y, r);
}
}
}