History

added HMD interface to toggle magnifier

Thijs Wenker committed 11 years ago

Commit 3da56771 parent 63607345 files · +59 −2Browse files

Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/HMDScriptingInterface.cpp+17−0
@@ -0,0 +1,17 @@
1+//
2+// HMDScriptingInterface.cpp
3+// interface/src/scripting
4+//
5+// Created by Thijs Wenker on 1/12/15.
6+// Copyright 2015 High Fidelity, Inc.
7+//
8+// Distributed under the Apache License, Version 2.0.
9+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10+//
11+
12+#include "HMDScriptingInterface.h"
13+
14+HMDScriptingInterface& HMDScriptingInterface::getInstance() {
15+ static HMDScriptingInterface sharedInstance;
16+ return sharedInstance;
17+}