|
发表于 2017-5-24 16:55:13
|
显示全部楼层
目前通过包围盒,看到了两个模型的位置
分别是按照下面的代码输出的
std::cout<<"地形坐标:"<<botBox.xMin()<<","<<botBox.xMax()<<","<<botBox.yMin()<<","<<botBox.yMax()<<","<<botBox.zMin()<<","<<botBox.zMax()<<std::endl;
std::cout<<"模型坐标:"<<topBox.xMin()<<","<<topBox.xMax()<<","<<topBox.yMin()<<","<<topBox.yMax()<<","<<topBox.zMin()<<","<<topBox.zMax()<<std::endl;
变换了好久,都放不到一起,求问,怎么变换让他们在视图中一起展示出来? |
|