Browse Source

JSM: Update modules.

Mugen87 5 năm trước cách đây
mục cha
commit
c574d51e3a
2 tập tin đã thay đổi với 1 bổ sung5 xóa
  1. 0 5
      examples/jsm/loaders/DRACOLoader.js
  2. 1 0
      examples/jsm/vr/WebVR.js

+ 0 - 5
examples/jsm/loaders/DRACOLoader.js

@@ -461,11 +461,6 @@ DRACOLoader.DRACOWorker = function () {
 
 		var geometry = { index: null, attributes: [] };
 
-		var numPoints = dracoGeometry.num_points();
-		var numAttributes = dracoGeometry.num_attributes();
-
-		console.log( numPoints, numAttributes );
-
 		// Add attributes of user specified unique id.
 		for ( var attributeName in attributeIDs ) {
 

+ 1 - 0
examples/jsm/vr/WebVR.js

@@ -14,6 +14,7 @@ var WEBVR = {
 		if ( options && options.referenceSpaceType ) {
 
 			renderer.vr.setReferenceSpaceType( options.referenceSpaceType );
+
 		}
 
 		function showEnterVR( device ) {