Skip to content

Boilerplate for Three.js projects with Babel for ES6 and Webpack for compilation

Notifications You must be signed in to change notification settings

hivivo/ThreeJS-ES6-Boilerplate

Repository files navigation

npm install

npm start

npm build

To Use Orbit Controls

npm i orbit-controls-es6 --save

in main.js:

import OrbitControls from 'orbit-controls-es6'
 
this.controls = new OrbitControls(this.camera, this.renderer.domElement)
this.controls.enabled = true
this.controls.maxDistance = 1500
this.controls.minDistance = 0

About

Boilerplate for Three.js projects with Babel for ES6 and Webpack for compilation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published