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