You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
function animate() {
requestAnimationFrame(animate);
// orbit control update per animation frame
controls.update();
// your animation stuff here
// and finally...
renderer.render(scene, camera);
}
hope this helps! if you have more questions, I'll paying attention to it.
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.
The text was updated successfully, but these errors were encountered: