Draggable clipping plane (buggy...)
TODO: refactor to avoid unnecessary object creation
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user