X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fapp.cc;h=9a46f4ad46b9202902bb47c6de529bd28ec41a99;hp=7f173f35a1fafea2fafa93ee75334371ded9a4dc;hb=dda1406df303fd1ec73344fbcce34c6197138642;hpb=a65c61e066fecc441ebf651987dc56deb78a4247 diff --git a/src/app.cc b/src/app.cc index 7f173f3..9a46f4a 100644 --- a/src/app.cc +++ b/src/app.cc @@ -364,7 +364,7 @@ static void update(float dt) } else { // TODO do this properly // set the position of the left hand at a suitable position for the exhibit UI - dir = transpose(mouse_view_matrix.upper3x3()) * Vec3(-0.47, 0, -1); + dir = rotate(Vec3(-0.46, -0.1, -1), Vec3(0, 1, 0), deg_to_rad(-avatar.body_rot)); exslot_left.node.set_position(avatar.pos + dir * 30); // magic: distance in front }