X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fopenvr%2Fopenvrsystem.h;fp=source%2Fopenvr%2Fopenvrsystem.h;h=ca5411e287181e08b1cfd7875e67d5f3e1b98671;hp=06881f8b531370ff63b2464d8b098cb3493055a2;hb=5fe4e511b9eb2f093070270e8f5694bcdf3a4f96;hpb=b991b451b536d7e16703f22f989cb881f9eecbe8 diff --git a/source/openvr/openvrsystem.h b/source/openvr/openvrsystem.h index 06881f8..ca5411e 100644 --- a/source/openvr/openvrsystem.h +++ b/source/openvr/openvrsystem.h @@ -12,7 +12,8 @@ namespace VR { class OpenVRSystem: public System { private: - GL::Matrix hmd_matrix; + unsigned n_tracked_devices; + std::vector tracking_matrices; static unsigned n_instances; @@ -31,7 +32,8 @@ public: virtual OpenVRCombiner *create_combiner(GL::View &); void update_pose_matrices(); - const GL::Matrix &get_hmd_matrix() const { return hmd_matrix; } + const GL::Matrix &get_tracking_matrix(unsigned) const; + const GL::Matrix &get_hmd_matrix() const; }; } // namespace VR