mirror of
https://github.com/lubosz/overte.git
synced 2025-08-28 05:18:26 +02:00
Refining the culling test and defining the 2 new jobs FetchSPatialTree and CullSpatialSelection
This commit is contained in:
parent
0478450205
commit
78b21c3f4d
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ const double Octree::INV_DEPTH_DIM[] = {
|
|||
1.0 / 16384.0,
|
||||
1.0 / 32768.0 };
|
||||
|
||||
/*
|
||||
const float Octree::COORD_SUBCELL_WIDTH[] = { // 2 ^ MAX_DEPTH / 2 ^ (depth + 1)
|
||||
16384.0f,
|
||||
8192.0f,
|
||||
|
@ -51,7 +52,7 @@ const float Octree::COORD_SUBCELL_WIDTH[] = { // 2 ^ MAX_DEPTH / 2 ^ (depth + 1)
|
|||
2.0f,
|
||||
1.0f,
|
||||
0.5f };
|
||||
|
||||
*/
|
||||
|
||||
Octree::Location::vector Octree::Location::pathTo(const Location& dest) {
|
||||
Location current{ dest };
|
||||
|
|
Loading…
Reference in a new issue