three-js-webpack icon indicating copy to clipboard operation
three-js-webpack copied to clipboard

how to add orbit controller

Open lalamax3d opened this issue 3 years ago • 1 comments

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.

lalamax3d avatar Jun 27 '21 14:06 lalamax3d