Comment faire tourner un trois.js Vector3 autour d'un axe?
1 réponses
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 );
63
répondu
mrdoob
2014-11-04 19:27:30