Skip to content

Commit

Permalink
remove console .logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Dec 3, 2023
1 parent 0cb6e5c commit ef6db2d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion packages/instanced-sprite-mesh/src/InstancedSpriteMesh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export class InstancedSpriteMesh<
let geometry: BufferGeometry<any> | PlaneGeometry;

if (options?.triGeometry) {
console.log("tri geo");
geometry = createSpriteTriangle();
} else {
geometry = new PlaneGeometry(1, 1) as any;
Expand Down
7 changes: 0 additions & 7 deletions packages/instanced-sprite-mesh/src/material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ export const constructSpriteMaterial = (
);

fragmentShader = replaceUVs(fragmentShader, "spriteUv");

// console.log(fragmentShader)
// console.log(vertexShader)

return { vertexShader, fragmentShader };
},
});
Expand Down Expand Up @@ -327,12 +323,9 @@ export const makeDataTexture = (data: SpritesheetFormat) => {
})
.flat()
.concat(new Array((dataWidth - animations[key].length) * 4).fill(0));
console.log({ aFrames });
animationsRGBA.push(...aFrames);
}

console.log(animMap);

const combinedData = [
...framesRGBA,
...animationLengthsRGBA,
Expand Down
5 changes: 0 additions & 5 deletions packages/instanced-sprite-mesh/src/spriteBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ class SpriteBuilder {
async build() {
const imgLoader = new ImageLoader();

console.log(this.animations);

const spritesheet: SpritesheetFormat = {
frames: [],
animations: {},
Expand Down Expand Up @@ -171,9 +169,6 @@ class SpriteBuilder {
texture.colorSpace = SRGBColorSpace;

spritesheet.sheetSize = [generatedWidth, generatedHeight];

console.log({ generatedSpritesheet: spritesheet });

return { spritesheet, texture };
}
}

0 comments on commit ef6db2d

Please sign in to comment.