diff options
author | epoch <epoch@hacking.allowed.org> | 2018-03-29 18:26:21 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-03-29 18:26:21 -0500 |
commit | 202d799c9055a32fcbe2f0faa97550f86c298cd2 (patch) | |
tree | fe22751b1d120d17625ffe7af5c5eec3f450ffd2 /src | |
parent | 8ad36f8ba3cc502da103a514b8f249e5dcf0723d (diff) | |
download | hackvr-202d799c9055a32fcbe2f0faa97550f86c298cd2.tar.gz hackvr-202d799c9055a32fcbe2f0faa97550f86c298cd2.zip |
added a comment about an idea and renamed a function.
Diffstat (limited to 'src')
-rw-r--r-- | src/math.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; } } |