radial-camera
Compute the camera model view matrix based on a given radius and two angles of rotation about a point in 3D space
Example
var RadialCamera = ; var camera = radius: 240 angleY: MathPI angleX: MathPI / 4; // Contains the transformation matrixvar transform = cameratransform; // Update the transformcameraangleX = 0;var updatedTransform = camera;
Installation
npm install radial-camera
Contributors
- Matt-Esch