X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fvrinput.h;h=67b264073c38b43382600b5f1ffce726ce9344f4;hp=1ab89a16503dc457b48cae17dd1775bf4c91eed6;hb=2c648dbdf80ad77015e3283beb028cd389c2d2fa;hpb=b6285d483c8b55a52b6965271a3d3163b2e2f8fa diff --git a/src/vrinput.h b/src/vrinput.h index 1ab89a1..67b2640 100644 --- a/src/vrinput.h +++ b/src/vrinput.h @@ -3,13 +3,13 @@ #include #include +#include "avatar.h" struct VRHand { bool valid; Vec3 pos; Quat rot; Mat4 xform; /* combination of the above */ - goatvr_source *src; }; extern VRHand vrhand[2]; @@ -17,7 +17,7 @@ extern VRHand vrhand[2]; bool init_vrhands(); void destroy_vrhands(); -void update_vrhands(); +void update_vrhands(const Avatar *avatar); void draw_vrhands(); #endif /* VRINPUT_H_ */