Hook up the back and forward buttons to history traversal in Magic Leap Servo2D

This commit is contained in:
Alan Jeffrey 2018-10-30 12:05:19 -05:00
parent 4ead81717a
commit c8fa64b93a
3 changed files with 67 additions and 25 deletions

View file

@ -11,7 +11,7 @@
#include <lumin/resource/PlanarResource.h>
#include <SceneDescriptor.h>
typedef void* ServoInstance;
typedef struct Opaque ServoInstance;
/**
* Servo2D Landscape Application
@ -104,5 +104,5 @@ private:
lumin::Prism* prism_ = nullptr; // represents the bounded space where the App renders.
lumin::PlanarResource* plane_ = nullptr; // the plane we're rendering into
lumin::QuadNode* content_node_ = nullptr; // the node containing the plane
ServoInstance servo_ = nullptr; // the servo instance we're embedding
ServoInstance* servo_ = nullptr; // the servo instance we're embedding
};