vivkin / forsyth

Linear-Speed Vertex Cache Optimization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

About

Linear-Speed Vertex Cache Optimization


Languages

Language:C 100.0%