diff options
-rw-r--r-- | src/hackvr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hackvr.c b/src/hackvr.c index b088087..0c6623e 100644 --- a/src/hackvr.c +++ b/src/hackvr.c @@ -347,7 +347,8 @@ int load_stdin() {//this function returns -1 to quit, 0 to not ask for a redraw, } for(i=0;global.group_rot[i];i++) { if(a[2][0]=='*' || !strcmp(global.group_rot[i]->id,a[2])) { - printf("%s_%s rotate %d %d %d\n",id,a[2],global.group_rot[i]->p.x,global.group_rot[i]->p.y,global.group_rot[i]->p.z); + printf("%s_%s rotate %d %d %d\n",id,a[2],global.group_rot[i]->r.x,global.group_rot[i]->r.y,global.group_rot[i]->r.z); + printf("%s_%s move %d %d %d\n",id,a[2],global.group_rot[i]->p.x,global.group_rot[i]->p.y,global.group_rot[i]->p.z); } } } |