如何将 Three.js Vector3 绕轴旋转一定角度?
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 );
这篇关于如何围绕轴旋转 Three.js Vector3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!