summaryrefslogtreecommitdiff
path: root/kon/kon3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'kon/kon3d.h')
-rw-r--r--kon/kon3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kon/kon3d.h b/kon/kon3d.h
index 510fb86..726df26 100644
--- a/kon/kon3d.h
+++ b/kon/kon3d.h
@@ -57,6 +57,7 @@ typedef struct kon_terrain {
int chunkColumns, chunkRows;
float *chunkMin, *chunkMax;
const kon_material_t *material; /* the texture repeats once per cell */
+ int faceted; /* 1 shades every triangle flat, 0 smooths the light over the corners */
} kon_terrain_t;
/* what to draw for a map. solid is indexed by tile id like in kon_tilemapMove, solid tiles become walls.