mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Support launching Servo2d with a URI.
This commit is contained in:
parent
0a5aab6cc2
commit
daabda7fe1
3 changed files with 29 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue