medfall

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

commit c4b7f2676446e8c0434e031c9c6a8ab9557866e1
parent 64dd79c2ea3d705d508eaa38f53ae9ca5c9b352a
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Oct 31 21:06:20 +0200

More cleanup

Diffstat:
heightmap.cc | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/heightmap.cc b/heightmap.cc @@ -32,15 +32,6 @@ static float bilinear_interpolation( return lerp( mx1, mx2, ty ); } -// CCW winding points towards the camera -static glm::vec3 triangle_normal_ccw( const glm::vec3 & a, const glm::vec3 & b, const glm::vec3 & c ) { - return glm::normalize( glm::cross( b - a, c - a ) ); -} - -static glm::vec3 triangle_perp_ccw( const glm::vec3 & a, const glm::vec3 & b, const glm::vec3 & c ) { - return glm::cross( b - a, c - a ); -} - void heightmap_init( Heightmap * hm, u8 * pixels, u32 width, u32 height ) { hm->pixels = pixels; hm->width = width;