[英]Oriented Bounding Box vs Oriented Bounding Box intersection test (c/c++)
I'd like an optimized implementation for this test. 我想要此测试的优化实现。 It need not conform exactly to this prototype.
它不必完全符合此原型。
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]);
您可以尝试使用此Gamasutra文章中介绍的方法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.