Skip to content

Commit

Permalink
clamped angle to lower value to prevent animations that look broken/t…
Browse files Browse the repository at this point in the history
…oo silly
  • Loading branch information
cmhhelgeson committed Jan 30, 2024
1 parent a37a095 commit 7fdf458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sample/skinnedMesh/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const init: SampleInit = async ({ canvas, pageState, gui }) => {
);
});
const animFolder = gui.addFolder('Animation Settings');
animFolder.add(settings, 'angle', 0.1, 1.0).step(0.1);
animFolder.add(settings, 'angle', 0.05, 0.5).step(0.05);
animFolder.add(settings, 'speed', 10, 100).step(10);

const depthTexture = device.createTexture({
Expand Down

0 comments on commit 7fdf458

Please sign in to comment.