INNER CODE UNIT · C++

child

novelrt/NovelRT · Maths/QuadTree.cpp:70

                auto child = parent->_children[c];

                for (size_t s = 0; s < child->GetPointCount(); s++)
                {
                    parent->_points[d++] = child->GetPoint(s);
                }

                parent->_children[c] = nullptr;
            }

            assert(d == totalPointCount);
            parent->_pointCount = totalPointCount;
        }
    }
} // namespace NovelRT::Maths

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…