medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c7d1867abe4419df361b530ed7f3ba751cf54c36
parent 780ac471e46a2a282d6f379b248337c66e1d044e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Aug 31 20:54:40 -0700

Don't flatten heightmaps

Diffstat:
heightmap.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/heightmap.cc b/heightmap.cc @@ -167,7 +167,7 @@ void heightmap_destroy( Heightmap * const hm ) { } glm::vec3 Heightmap::point( u32 x, u32 y ) const { - return glm::vec3( x, y, pixels[ y * width + x ] / 4.0f ); + return glm::vec3( x, y, pixels[ y * width + x ] ); } glm::vec3 Heightmap::point_normal( u32 x, u32 y ) const {