just port a java implementation, available @:
<https://github.com/rforcen/nim/blob/main/polygonizer.nim> requires vec3: <https://github.com/rforcen/nim/blob/main/vec3.nim> includes typical surfaces func's: NordstarndWeird, DecoCube, Cassini, Orth, Orth3, Pretzel, Tooth, Pilz, Bretzel , BarthDecic, Clebsch0, Clebsch, Chubs, Chair, Roman, TangleCube, Goursat Run