Catmull–Clark subdivision surface/OCaml: Difference between revisions

m
removed -g parameter for compilation
(full ocaml code for Catmull–Clark subdivision surfaces)
 
m (removed -g parameter for compilation)
Line 37:
 
You can compile everything together with:
ocamlopt -c -g dynar.ml
ocamlopt -c -g subsurf.ml
ocamlopt -g -I +glMLite GL.cmxa Glu.cmxa Glut.cmxa dynar.cmx subsurf.cmx main.ml -o catmull.opt
 
<lang ocaml>open GL