Catmull–Clark subdivision surface: Difference between revisions

Content added Content deleted
Line 378: Line 378:
Dynar.to_array new_faces)
Dynar.to_array new_faces)
;;</lang>
;;</lang>
=== Another implementation ===
Another implementation which should work with holes, but has only been tested on a cube
Another implementation which should work with holes, but has only been tested on a cube
<lang OCaml>type point = { x: float; y : float; z : float }
<lang OCaml>type point = { x: float; y : float; z : float }