Tesselation library for 3D geometry