add set polar angle and azimuthal angle
npm install lesca-threejs-orbitcontrols






add OrbitControls setAzimuthalAngle and getPolarAngle methods.
#### Live Demo
``sh`
npm install lesca-threejs-orbitcontrols --save
`javascript
import * as THREE from 'three';
import { OrbitControls } from 'lesca-threejs-orbitcontrols';
const renderer = new THREE.WebGLRenderer();
const camera = new THREE.PerspectiveCamera(75, 16 / 9, 0.1, 1000);
// create controls object
const controls = new new OrbitControls(THREE)(camera, renderer.domElement);
// keep update
function animate() {
requestAnimationFrame(animate);
controls.update();
}
animate();
``
| method | description |
| :----------------------------------------- | :-----------------: |
| .setPolarAngle(angle:_number_) | set Polar Angle |
| .setAzimuthalAngle(angle:_number_) | set Azimuthal Angle |
- maintain if necessary