载入中...
搜索中...
未找到
Octree.h
浏览该文件的文档.
Region octree for 3D AABB broad-phase / scene culling. Same storage rules as QuadTree (smallest fully...
Definition Octree.h:16
Octree(const Octree &)=delete
bool insert(int id, float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
插入一个 AABB 对象;false 表示越界或已存在。
Definition Octree.cpp:37
int queryAABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
Definition Octree.cpp:167
bool update(int id, float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
Definition Octree.cpp:56
int querySphere(float cx, float cy, float cz, float radius)
Definition Octree.cpp:174
Octree & operator=(const Octree &)=delete
~Octree()=default
Definition Scene.h:33
Definition Bounds.h:43