Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 449 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 449 Bytes

Tom Forsyth's Linear-Speed Vertex Cache Optimisation algorithm implementation by Martin Storsjo in header file single-file library.

Add #define FORSYTH_IMPLEMENTATION before #include "forsyth.h" in one .c or .cpp file to create the implementation.

Usage:

forsythReorderIndices(outIndices, indices, numTriangles, numVertices);