14 if(!(scn->load("data/vrhands.obj"))) {
17 scn->objects[0]->node->set_position(Vec3(0, 150, 0));
18 scn->objects[1]->node->set_position(Vec3(0, 250, 0));
23 void destroy_vrhands()
29 void update_vrhands(const Avatar *avatar)
31 for(int i=0; i<2; i++) {
32 if(goatvr_hand_active(i)) {
33 goatvr_hand_position(i, &vrhand[i].pos.x);
34 goatvr_hand_orientation(i, &vrhand[i].rot.x);
35 vrhand[i].valid = true;
37 vrhand[i].valid = false;