- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
392 B
392 B
OBB::Intersects(OBB)
bool Intersects(const OBB& other) const;
判断两个 OBB 是否相交(SAT 分离轴定理)。
返回: 两包围盒是否相交
复杂度: O(1)
示例:
OBB a(centerA, extentsA);
OBB b(centerB, extentsB);
if (a.Intersects(b)) {
// 两包围盒相交
}
相关文档
- AABB 总览 - 返回 AABB 概览