我想要这个测试的优化实现。它不必完全符合这个原型。
bool OOBBIntersectOOBB(
float center0[3],
float halfExtents0[3], // or some other bounding description
float rotation0[9], // quaternion would also be fine
float center1[3],
float halfExtents1[3],
float rotation1[9]);
最佳答案
您可以尝试使用this Gamasutra article中描述的方法
关于c - 定向边界框与定向边界框相交测试(c/c++),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/104496/