Add single mesh to octree

If you want to create a Octree by hand, you need to:

  • pass a valid “onCreate” function to the Octree constructor
  • call octree.update to create the octree partition

For eg:

3 Likes