From 202d799c9055a32fcbe2f0faa97550f86c298cd2 Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 29 Mar 2018 18:26:21 -0500 Subject: added a comment about an idea and renamed a function. --- src/math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/math.c b/src/math.c index ef59d1e..c016744 100644 --- a/src/math.c +++ b/src/math.c @@ -5,10 +5,10 @@ extern struct global global; //might change this to use hashtables for faster lookups. -c3_group_rot_t *get_group_rotation(char *id) { +c3_group_rot_t *get_group_relative(char *id) { int i; for(i=0;global.group_rot[i];i++) { - if(!strcmp(global.group_rot[i]->id,id)) { + if(!strcmp(global.group_rot[i]->id,id)) {//should I use glob here and return an array? return global.group_rot[i]; } } -- cgit v1.2.3