浏览代码

JSM: Update modules.

Mugen87 5 年之前
父节点
当前提交
c574d51e3a
共有 2 个文件被更改,包括 1 次插入5 次删除
  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 ) {