X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fmotioncontroller.h;fp=source%2Fmotioncontroller.h;h=0dbee9c2b1aea0ce9e365a04fb3e0762121f6335;hp=959e056cd8c6c1b537951bb8161d7f0d6c1dfd83;hb=8b0577558582dd34362219e498f688d9416f0ca1;hpb=ee7031ad49618ac199adb506f78b2ca0d2bea2fc diff --git a/source/motioncontroller.h b/source/motioncontroller.h index 959e056..0dbee9c 100644 --- a/source/motioncontroller.h +++ b/source/motioncontroller.h @@ -2,6 +2,7 @@ #define MSP_VR_MOTIONCONTROLLER_H_ #include +#include #include namespace Msp { @@ -29,6 +30,9 @@ public: virtual void update() = 0; protected: void update_from_matrix(const Msp::GL::Matrix &); + +public: + virtual const GL::Object *get_object() const { return 0; } }; } // namespace VR