From 959d62d706e08ac2bcba105d98a4402b31e718a0 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Sat, 3 Jan 2015 17:43:20 +0100 Subject: [PATCH] constness, although not complete yet --- unfold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unfold.c b/unfold.c index 1a05a33..6884cd3 100644 --- a/unfold.c +++ b/unfold.c @@ -135,7 +135,7 @@ poly_position( float trans_y ) { - face_t * const f = g->face; + const face_t * const f = g->face; const int start_edge = g->start_edge; float a = f->sides[(start_edge + 0) % 3]; @@ -446,7 +446,7 @@ poly_print( poly_t * const g ) { - face_t * const f = g->face; + const face_t * const f = g->face; const int start_edge = g->start_edge; g->printed = 1;