Catmull–Clark subdivision surface: Difference between revisions
Content added Content deleted
Line 429: | Line 429: | ||
| a :: b :: c -> f a b; next (b::c) in |
| a :: b :: c -> f a b; next (b::c) in |
||
next pl;; |
next pl;; |
||
⚫ | |||
let catmull_clark faces = |
let catmull_clark faces = |
||
⚫ | |||
let eset = ref EdgeSet.empty in |
let eset = ref EdgeSet.empty in |
||
let add_edge a b = eset := EdgeSet.add (make_edge a b) !eset in |
let add_edge a b = eset := EdgeSet.add (make_edge a b) !eset in |