diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-03-15 13:49:49 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-05-01 18:57:40 -0400 |
commit | daabda7fe14cb79ddc1b06019bec77f953eb9cf8 (patch) | |
tree | e095b2c103485967b1f519a26f93e08d2c93126c /support/magicleap/Servo2D/code/inc/Servo2D.h | |
parent | 0a5aab6cc2d23b6b9bf5de142e7a8a5b84e32380 (diff) | |
download | servo-daabda7fe14cb79ddc1b06019bec77f953eb9cf8.tar.gz servo-daabda7fe14cb79ddc1b06019bec77f953eb9cf8.zip |
Support launching Servo2d with a URI.
Diffstat (limited to 'support/magicleap/Servo2D/code/inc/Servo2D.h')
-rw-r--r-- | support/magicleap/Servo2D/code/inc/Servo2D.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/magicleap/Servo2D/code/inc/Servo2D.h b/support/magicleap/Servo2D/code/inc/Servo2D.h index e127332b52d..61f1ee333e3 100644 --- a/support/magicleap/Servo2D/code/inc/Servo2D.h +++ b/support/magicleap/Servo2D/code/inc/Servo2D.h @@ -29,7 +29,7 @@ public: /** * Constructs the Landscape Application. */ - Servo2D(); + Servo2D(const char* uri); /** * Destroys the Landscape Application. @@ -144,4 +144,5 @@ private: glm::quat controller_orientation_; // The last recorded orientation of the controller (in world coords) bool controller_trigger_down_ = false; // Is the controller trigger currently down? ServoInstance* servo_ = nullptr; // the servo instance we're embedding + const char* uri_ = nullptr; }; |