mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fixed typo
This commit is contained in:
parent
0a9d9b2d92
commit
a2d3f7d1ac
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user