Skip to content

Commit

Permalink
chore(log): clean glb log
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Jun 19, 2023
1 parent 1cb5d50 commit f128ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loader/parser/gltf/GLBParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class GLBParser extends ParserBase {
return false;
}

let time = performance.now();
// let time = performance.now();
let gltfJSON = '';
let maxCount = 65535;
let chunkJSONData = chunks[0].chunkData;
Expand All @@ -70,7 +70,7 @@ export class GLBParser extends ParserBase {
let newUint = chunkJSONData.subarray(i, i + count);
gltfJSON += String.fromCharCode(...newUint);
}
console.log(performance.now() - time);
// console.log(performance.now() - time);

// let gltfJSON = String.fromCharCode(...chunks[0].chunkData) ;//.apply(null, chunks[0].chunkData);
let obj = JSON.parse(gltfJSON) as object;
Expand Down

0 comments on commit f128ae5

Please sign in to comment.