浏览代码

Remove duplicate case, and add missing semicolon in Volume

Tristan Valcke 8 年之前
父节点
当前提交
57b27c0d1d
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      examples/js/Volume.js

+ 2 - 3
examples/js/Volume.js

@@ -75,7 +75,6 @@ THREE.Volume = function( xLength, yLength, zLength, type, arrayBuffer ) {
 			case 'uint32' :
 			case 'uint32' :
 			case 'uint' :
 			case 'uint' :
 			case 'unsigned int' :
 			case 'unsigned int' :
-			case 'uint32' :
 			case 'uint32_t' :
 			case 'uint32_t' :
 				this.data = new Uint32Array( arrayBuffer );
 				this.data = new Uint32Array( arrayBuffer );
 				break;
 				break;
@@ -188,7 +187,7 @@ THREE.Volume = function( xLength, yLength, zLength, type, arrayBuffer ) {
 	 * @member {Array} RASDimensions This array holds the dimensions of the volume in the RAS space
 	 * @member {Array} RASDimensions This array holds the dimensions of the volume in the RAS space
 	 */
 	 */
 
 
-}
+};
 
 
 THREE.Volume.prototype = {
 THREE.Volume.prototype = {
 
 
@@ -445,4 +444,4 @@ THREE.Volume.prototype = {
 
 
 	}
 	}
 
 
-}
+};