summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math.c4
1 files changed, 2 insertions, 2 deletions
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];
}
}