Nick-J-King / ZeroTriangles

Zero Triangles
MIT License
0 stars 0 forks source link

Improve the caching. #5

Open Nick-J-King opened 6 years ago

Nick-J-King commented 6 years ago

Cache vertices in world coords. Put in an "internal" cache for the detailed info within a cubic cell.

Nick-J-King commented 6 years ago

Fixed the main cache, and added validation code. Now, try: 1) Cache corner coords (if inSet == 0) 2) Internal cache (of flats, diags, corners)

Nick-J-King commented 6 years ago
  1. Cache the main cells' corners. Every x step, get one whole face from previous cell...