Draggable clipping plane (buggy...)

TODO: refactor to avoid unnecessary object creation
This commit is contained in:
2026-01-07 16:55:10 +01:00
parent db689c0fa3
commit 8434f3bdc9
5 changed files with 89 additions and 39 deletions

View File

@@ -2,6 +2,8 @@ export const AppState = {
// The root scene object
root: null,
initialRotation: null,
camera: ATON.Nav._camera,
renderer: ATON._renderer,
scenes : [],
ambientOcclusion : true,
shadows : true,
@@ -11,7 +13,11 @@ export const AppState = {
enabled: false,
helper : null,
rootBoundingBox: null,
listenerAdded: false,
listeners: {
button: false,
plane: false,
},
vector: null,
}
}