feature/portToBabylon #21

Merged
lobo merged 3 commits from feature/portToBabylon into main 2026-02-12 10:14:58 +01:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit ea15e66c50 - Show all commits

View File

@@ -12,5 +12,10 @@
cursor: pointer;
min-width: 450px;
max-width: 450px;
&:hover {
transform: translateY(-5px);
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
}
}

View File

@@ -80,6 +80,10 @@ export class Fractal3dComponent implements AfterViewInit, OnDestroy {
camera.upperRadiusLimit = 20;
camera.attachControl(this.canvasRef.nativeElement, true);
canvas.addEventListener('wheel', (evt: WheelEvent) => {
evt.preventDefault();
}, { passive: false });
const plane = MeshBuilder.CreatePlane("plane", { size: 10 }, this.scene);
plane.parent = camera;
plane.position.z = 1;