Quadtree vs Red-Black tree for a game in C++?

后端 未结 6 841
小鲜肉
小鲜肉 2021-02-02 03:33

I have been looking for a quadtree/quadtree node implementation on the net for ages. There is some basic stuff but nothing that I would be able to really use it a game.

6条回答
  •  一整个雨季
    2021-02-02 03:55

    I warmly suggest you to use a rendering engine, Ogre3D for instance. As far as I know it supports Octrees for scene management. But you can extend the Octree-based class as you wish. I used to code the stuff I needed by myself, but for complex projects, it's just not the right way.

提交回复
热议问题