2
0
Эх сурвалжийг харах

Replace deprecated WebVR function with new one

Signed-off-by: Masashi Honma <[email protected]>
Masashi Honma 8 жил өмнө
parent
commit
f8093f615b

+ 1 - 1
examples/webvr_cubes.html

@@ -27,7 +27,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_panorama.html

@@ -23,7 +23,7 @@
 
 		<script>
 
-		if ( WEBVR.isLatestAvailable() === false ) {
+		if ( WEBVR.isAvailable() === false ) {
 
 			document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_rollercoaster.html

@@ -29,7 +29,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_shadow.html

@@ -21,7 +21,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_video.html

@@ -38,7 +38,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_vive.html

@@ -30,7 +30,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_vive_dragging.html

@@ -30,7 +30,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_vive_paint.html

@@ -31,7 +31,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );
 

+ 1 - 1
examples/webvr_vive_sculpt.html

@@ -31,7 +31,7 @@
 
 		<script>
 
-			if ( WEBVR.isLatestAvailable() === false ) {
+			if ( WEBVR.isAvailable() === false ) {
 
 				document.body.appendChild( WEBVR.getMessage() );