k-specht / OGLBubbles

An OpenGL project that, when in its final stages, should render bubbles.
GNU General Public License v3.0
0 stars 0 forks source link

Divide() Hash Table #10

Open k-specht opened 3 years ago

k-specht commented 3 years ago

The Divide() method currently uses a sequential search for vertices to prevent duplicates. It's possible to use a hash map instead in this case, using a pair of the vertices used to calculate the new one. This would require a lot of re-factoring code, but should greatly speed up the loading time of the program.