diff options
| author | epoch <epoch@hacking.allowed.org> | 2020-04-03 00:48:23 -0500 | 
|---|---|---|
| committer | epoch <epoch@hacking.allowed.org> | 2020-04-03 00:48:23 -0500 | 
| commit | d5ffa6fbcbdfbe8abf3b3b542f86b8f96d23eaed (patch) | |
| tree | 821484051c0f893ed3c43759c714d39f6a74e4d6 /src | |
| parent | 174e96a02e16f1c4f8d53ad3af45cf7824833077 (diff) | |
| download | hackvr-d5ffa6fbcbdfbe8abf3b3b542f86b8f96d23eaed.tar.gz hackvr-d5ffa6fbcbdfbe8abf3b3b542f86b8f96d23eaed.zip | |
removed some debuggery and found I need to add a group_rot for the camera under the user's name in the group_rot hashtable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/math.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| @@ -15,13 +15,14 @@ c3_group_rot_t *get_group_relative(char *id) {//crashes in here somehwere...      gr=tmp->target;//target is a void *      return gr;    }//if this didn't work, do fallback... +  //fprintf(stderr,"# !!! hash table failed for %s\n",id);    for(i=0;global.group_rot[i];i++) {      if(!strcmp(global.group_rot[i]->id,id)) {//should I use glob here and return an array? -      if(gr != global.group_rot[i]) { +      //if(gr != global.group_rot[i]) {          //fprintf(stderr,"# %s ? %s ? %s\n",tmp->original,gr->id,global.group_rot[i]->id);          //fprintf(stderr,"# %16x != %16x. wtf?\n",gr,global.group_rot[i]); -        fprintf(stderr,"ht method != loop method\n"); -      } +      //  fprintf(stderr,"ht method != loop method\n"); +      //}        return global.group_rot[i];      }    } | 
