mirror of
https://github.com/seigler/brunch-threejs
synced 2025-07-26 09:06:09 +00:00
14 lines
249 B
JavaScript
14 lines
249 B
JavaScript
const props = {
|
|
rotation: 0.025,
|
|
postprocessing: false
|
|
};
|
|
|
|
function setUpDat() {
|
|
const gui = new dat.GUI();
|
|
gui.add(props, 'rotation', 0, 0.2);
|
|
gui.add(props, "postprocessing");
|
|
gui.close();
|
|
}
|
|
|
|
export default props;
|
|
export { setUpDat };
|