Fixed typo

This commit is contained in:
rdb 2008-10-10 05:50:22 +00:00
parent 0a9d9b2d92
commit a2d3f7d1ac

View File

@ -541,7 +541,7 @@ get_pixel_value(int x, int y) {
return double(_heightfield.get_bright(x, y));
} else {
return double(_heightfield.get_red(x, y))
+ double(_heightfield.get_green(x, y)) / 256.0;
+ double(_heightfield.get_green(x, y)) / 256.0
+ double(_heightfield.get_blue(x, y)) / 65536.0;
}
}