其他分享
首页 > 其他分享> > threejs vector3叉积

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 }

 

 

#########################

标签:threejs,Vector3,1.0,0.0,vector3,叉积,var
来源: https://www.cnblogs.com/herd/p/15817314.html