From 1182574f3de57375a8dedb01bcb32a14fb43a6fc Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Dec 2017 03:38:01 -0600 Subject: I was exporting the point as rotations because I forgot about the offset of objects being in the group_rot too. --- src/hackvr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); } } } -- cgit v1.2.3