3drotate 中文文档教程
*什么是 3DRotate? 是一个 Light c++ 绑定,允许您旋转 3D 网格
在解析 3D 对象后,您可以传递点云和您想要旋转的角度,并将点的新位置作为 return
´var Rotate = require("3drotate" ); ´MYPOINTSARRAY = Rotate.rotate(MYPOINTSARRAY,[ROTATIONOVERXAXIS, ROTATIONOVER< em>YAXIS, ROTATIONOVERZ_AXIS]);
*WHAT IS 3DRotate? Is a Light c++ binding that allows you to rotate a 3D mesh
After parsing your 3D object you can pass the point cloud and the angle you want to rotate and have the new position of the points as return
´var Rotate = require("3drotate"); ´MYPOINTSARRAY = Rotate.rotate(MYPOINTSARRAY,[ROTATIONOVERXAXIS, ROTATIONOVERYAXIS, ROTATIONOVERZ_AXIS]);