Browse Source

Updated examples builds.

Mr.doob 3 years ago
parent
commit
6c29fd3f2a
2 changed files with 3 additions and 3 deletions
  1. 2 2
      examples/js/loaders/EXRLoader.js
  2. 1 1
      examples/js/loaders/STLLoader.js

+ 2 - 2
examples/js/loaders/EXRLoader.js

@@ -1837,8 +1837,8 @@
 
 
 				}
 				}
 
 
-				EXRHeader.version = dataView.getUint8( 4, true );
-				const spec = dataView.getUint8( 5, true ); // fullMask
+				EXRHeader.version = dataView.getUint8( 4 );
+				const spec = dataView.getUint8( 5 ); // fullMask
 
 
 				EXRHeader.spec = {
 				EXRHeader.spec = {
 					singleTile: !! ( spec & 2 ),
 					singleTile: !! ( spec & 2 ),

+ 1 - 1
examples/js/loaders/STLLoader.js

@@ -134,7 +134,7 @@
 				// Check if each byte in query matches the corresponding byte from the current offset
 				// Check if each byte in query matches the corresponding byte from the current offset
 				for ( let i = 0, il = query.length; i < il; i ++ ) {
 				for ( let i = 0, il = query.length; i < il; i ++ ) {
 
 
-					if ( query[ i ] !== reader.getUint8( offset + i, false ) ) return false;
+					if ( query[ i ] !== reader.getUint8( offset + i ) ) return false;
 
 
 				}
 				}