Skip to content

Commit

Permalink
changeset, remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Feb 2, 2024
1 parent 90e4514 commit 2de01f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-beans-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@threejs-kit/instanced-sprite-mesh": minor
---

mesh.flipX.at() function fixed. Removed console .logs
2 changes: 0 additions & 2 deletions packages/instanced-sprite-mesh/src/animationRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ export const initAnimationRunner = (

const computeTextureSize = findFirstPow2LargerThan(Math.sqrt(instanceCount));

console.log({ computeTextureSize });

const gpuCompute = new GPUComputationRenderer(
computeTextureSize,
computeTextureSize,
Expand Down
3 changes: 0 additions & 3 deletions packages/instanced-sprite-mesh/src/material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ export const makeDataTexture = (data: SpritesheetFormat) => {
const { frames, animationLengths, animations } = data;
// find the longest array to determine data width uniform

console.log({ data });

const dataWidth = Math.max(
frames.length,
animationLengths.length,
Expand Down Expand Up @@ -302,7 +300,6 @@ export const makeDataTexture = (data: SpritesheetFormat) => {
for (let i = 0; i < Object.keys(animations).length; i++) {
const key = Object.keys(animations)[i];
animMap.set(key, i);
console.log(animations[key]);
const aFrames = animations[key]
.map((a) => {
return [...a, 0, 0];
Expand Down

0 comments on commit 2de01f0

Please sign in to comment.