Skip to content

yocover/vector-axis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

threejs based vector axis

Resources

License

Stars

Watchers

Forks

Packages

No packages published