polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit d07bfbbc047ed0ec2f5739350b69155d080718e1
parent 11d8442aaa447fc3de370906244ac334a2c60d3a
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 22 Sep 2018 16:27:20 -0700

iunno

Diffstat:
Msrc/terrain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/terrain.c b/src/terrain.c @@ -65,7 +65,7 @@ terrain_create(struct terrain *terrain) { del_point2d_t *points = calloc(terrain->n_samples, sizeof(*points)); float *verts = calloc(terrain->n_samples * 3, sizeof(*verts)); - float *normals = calloc(terrain->n_samples * 3, sizeof(*verts)); + /* float *normals = calloc(terrain->n_samples * 3, sizeof(*verts)); */ terrain->fn = offset_fn;