Fix clipping state bug (partial)

This commit is contained in:
2026-01-11 22:27:27 +01:00
parent 8434f3bdc9
commit 91961ec216
2 changed files with 41 additions and 30 deletions

View File

@@ -1,6 +1,7 @@
export const AppState = {
// The root scene object
root: null,
mainNodeId: null,
initialRotation: null,
camera: ATON.Nav._camera,
renderer: ATON._renderer,
@@ -11,8 +12,12 @@ export const AppState = {
map : null,
clipping : {
enabled: false,
plane : null,
controls: null,
onDrag: null,
helper : null,
rootBoundingBox: null,
// Change to boundingSphere
boundingSphere: null,
listeners: {
button: false,
plane: false,