We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getBigInt64()
1 parent b61142f commit d38c117Copy full SHA for d38c117
1 file changed
examples/jsm/loaders/EXRLoader.js
@@ -2082,17 +2082,7 @@ class EXRLoader extends DataTextureLoader {
2082
2083
const parseInt64 = function ( dataView, offset ) {
2084
2085
- let int;
2086
-
2087
- if ( 'getBigInt64' in DataView.prototype ) {
2088
2089
- int = Number( dataView.getBigInt64( offset.value, true ) );
2090
2091
- } else {
2092
2093
- int = dataView.getUint32( offset.value + 4, true ) + Number( dataView.getUint32( offset.value, true ) << 32 );
2094
2095
- }
+ const int = Number( dataView.getBigInt64( offset.value, true ) );
2096
2097
offset.value += ULONG_SIZE;
2098
0 commit comments