@@ -299,6 +299,7 @@ var files = {
"webvr": [
"webvr_cubes",
"webvr_daydream",
+ "webvr_gearvr",
"webvr_panorama",
"webvr_rollercoaster",
"webvr_sandbox",
@@ -1,4 +1,6 @@
-
+/**
+ * @author servinlp
+ */
THREE.GearVRController = function () {
@@ -32,12 +34,6 @@ THREE.GearVRController = function () {
}
- this.setSkyBox = function ( skyBox ) {
- window.SamsungChangeSky( skyBox );
- };
this.setHand = function ( hand = 'right' ) {
var handPos;
@@ -136,7 +136,7 @@
if ( 'SamsungChangeSky' in window ) {
- controller.setSkyBox( skyBox );
+ window.SamsungChangeSky( skyBox );