Anonymous user
Catmull–Clark subdivision surface: Difference between revisions
m
→{{header|OCaml}}
Line 457:
(print_string "surface {\n"; List.iter pr_face fl; print_string "}\n")
let
let cube = [
(Face [
(Face [
(Face [
show_faces cube;
show_faces (catmull_clark cube
with output:
<pre>surface {
|