polyadvent

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

commit e5d6f94fad546dd9e2bb0e284ce0c7bfe722db3f
parent 51cb45e0c1451241661d155aef1d67808d7978b6
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 21 Jul 2019 17:01:02 -0700

ocd: whitespace

Diffstat:
Msrc/terrain.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/terrain.c b/src/terrain.c @@ -164,15 +164,15 @@ void create_terrain(struct terrain *terrain, float scale, int seed) { int ndv = i * 9; int p[3] = { - tri->tris[nv + 0], - tri->tris[nv + 1], - tri->tris[nv + 2], + tri->tris[nv + 0], + tri->tris[nv + 1], + tri->tris[nv + 2], }; float *v[3] = { - &verts[p[0]*3], - &verts[p[1]*3], - &verts[p[2]*3] + &verts[p[0]*3], + &verts[p[1]*3], + &verts[p[2]*3] }; del_verts[ndv+0] = v[0][0];