gpt4 book ai didi

c - 定向边界框与定向边界框相交测试(c/c++)

转载 作者:太空宇宙 更新时间:2023-11-04 07:43:17 26 4
gpt4 key购买 nike

我想要这个测试的优化实现。它不必完全符合这个原型。

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com