polyadvent

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

commit 391fcac1c8c55d0eb6c2205adbb11c03bf377cce
parent 7de176b813b1554f9b2fc9c25cb7142576ddd312
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 29 Apr 2018 21:52:55 -0700

no

Diffstat:
Msrc/node.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/node.c b/src/node.c @@ -20,7 +20,7 @@ void node_translate(struct node *node, vec3 *p) { if (vec3_isall(p, 0)) return; - printf("translating %f %f %f\n", p[0], p[1], p[2]); + /* printf("translating %f %f %f\n", p[0], p[1], p[2]); */ vec3_add(node->pos, p, node->pos); node->needs_recalc = 1; } @@ -33,6 +33,7 @@ int node_recalc(struct node *node) { mat4_id(node->mat); + node->needs_recalc = 0; if (node->scale[0] != 1 || node->scale[1] != 1 || node->scale[2] != 1)