Imporoved pinching for 3d fractals
This commit is contained in:
1 parent
d45b651d2d
commit
4685a94f1d
2 files changed
+12
-6
No files matched your search
@@ -91,6 +91,7 @@ export class BabylonCanvas implements AfterViewInit, OnDestroy {
|
||||
private setup3dCamera(canvas: HTMLCanvasElement) {
|
||||
const cam = new ArcRotateCamera("Camera", 0, Math.PI / 2, 4, Vector3.Zero(), this.scene);
|
||||
cam.wheelPrecision = 100;
|
||||
cam.pinchPrecision = 200;
|
||||
cam.minZ = 0.1;
|
||||
cam.maxZ = 100;
|
||||
cam.lowerRadiusLimit = 1.5;
|
||||
|
||||
Reference in new issue
Block a user