vector-axis

1.0.2 • Public • Published

vector-axis

Threejs based vector axis

This class provides a way to monitor the rotation of the camera in the threejs scene

Screenshots

vec.png

1.png

Installation

npm install vector-axis

Usage

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();

Readme

Keywords

Package Sidebar

Install

npm i vector-axis

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

45.8 kB

Total Files

14

Last publish

Collaborators

  • yocover