threejs vector3叉积
threejs vector3叉积
var vOA4 = new THREE.Vector3(1.0, 0.0, 0.0); var vOB4 = new THREE.Vector3(0.0, 0.0, 1.0); var vOC4_2 = vOB4.cross(vOA4); console.log(vOC4_2);
输出:
Object { x: 0, y: 1, z: 0 }
#########################
QQ 3087438119