'Demo Mode' release

This commit is contained in:
MitchellHansen
2017-10-07 23:22:47 -07:00
parent 87b7f60fa0
commit f733ca4aec
8 changed files with 55 additions and 30 deletions

View File

@@ -87,7 +87,7 @@ struct device_info {
struct PackedData;
class CLCaster : private Gui {
class CLCaster : private Gui, public VrEventSubscriber {
public:
@@ -156,6 +156,9 @@ public:
// ============= GUI ==============
virtual void render_gui() override;
virtual void update_gui() override;
virtual void recieve_event(VrEventPublisher* publisher, std::unique_ptr<vr::Event> event) override;
// ================================
private:

View File

@@ -28,6 +28,7 @@ public:
// Functions modifying the pointed to data
void set_position(sf::Vector3f position);
sf::Vector3f get_position();
void set_direction(sf::Vector3f direction);
void set_rgbi(sf::Vector4f rgbi);