three-js-webpack
three-js-webpack copied to clipboard
how to add orbit controller
Hi, not an issue to be precise, just query. from all the templates, it really suits my needs. I am having trouble in adding controller ( orbitController ) it needs canvas as input argument.
controls = new THREE.OrbitControls(camera, canvas);
thanks in advance.