How to rotate a Three.js Vector3 by a certain angle around an axis?
var vector = new THREE.Vector3( 1, 0, 0 ); var axis = new THREE.Vector3( 0, 1, 0 ); var angle = Math.PI / 2; vector.applyAxisAngle( axis, angle );
1.4m articles
1.4m replys
5 comments
57.0k users