Catmull–Clark subdivision surface: Difference between revisions

typo
(Needs graphics)
(typo)
Line 83:
This code uses a module called '''Dynar''' (for dynamic array) because it needs a structure similar to arrays but with which we can push a new element at the end. (The source of this module is given in the [[Catmull–Clark subdivision surface/OCaml|sub-page]].)
 
In the [[Catmull–Clark subdivision surface/OCaml|sub-page]] there is also a program in OCaml+OpenGL which displays a cube subdivided 2 times with this algorythmalgorithm.
 
<lang ocaml>open Dynar
Anonymous user