vector-axis
v1.0.2
Published
threejs based vector axis
Downloads
1
Readme
vector-axis
Threejs based vector axis
This class provides a way to monitor the rotation of the camera in the threejs scene
Screenshots


Installation
npm install vector-axisUsage
Reference example
var axis = new Axis(camera, controls);
document.body.appendChild(axis.domElement);
const animate = function () {
requestAnimationFrame(animate);
renderer.render(scene, camera);
controls.update();
axis.update();
};
animate();