Skip to content

Commit

Permalink
[twisty] Significantly decrease the camera frustrum far distance.
Browse files Browse the repository at this point in the history
In practice, we only need about 10.
20 should allow zooming out a moderate amount.
  • Loading branch information
lgarron committed Feb 11, 2021
1 parent ef9c321 commit c4de9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cubing/twisty/dom/viewers/Twisty3DCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class Twisty3DCanvas
20,
1, // We rely on the resize logic to handle this.
0.1,
1000,
20,
);
this.camera.position.copy(
options.experimentalCameraPosition ?? new Vector3(2, 4, 4),
Expand Down

0 comments on commit c4de9d2

Please sign in to comment.