medfall

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

commit 70dcefe2f9d3da21e3f969ae5b352636b12b5985
parent 33d3a3fc930466fb8383d8ec590d750101140d94
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri Dec 30 12:15:57 +0200

Set the x = 0 horizons properly

Diffstat:
pp.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pp.cc b/pp.cc @@ -32,6 +32,7 @@ static void compute_row_of_horizons( array< v2 > hull = memarena_push_array( arena, v2, heightmap.w ); hull[ 0 ] = v2( 0, heightmap( 0, y ) ); + horizons( 0, y ) = 0.0f; size_t hull_size = 1;