mirror of
https://github.com/seigler/brunch-threejs
synced 2025-07-27 01:26:10 +00:00
:chick: Create project
This commit is contained in:
commit
f0c43dd44c
17 changed files with 5573 additions and 0 deletions
14
app/js/core/props.js
Normal file
14
app/js/core/props.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
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 };
|
Loading…
Add table
Add a link
Reference in a new issue