Catmull–Clark subdivision surface: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
m (→‎{{header|Wren}}: Minor tidy)
Line 3,047: Line 3,047:
{{libheader|Wren-math}}
{{libheader|Wren-math}}
{{libheader|Wren-fmt}}
{{libheader|Wren-fmt}}
<syntaxhighlight lang="ecmascript">import "/dynamic" for Tuple, Struct
<syntaxhighlight lang="wren">import "./dynamic" for Tuple, Struct
import "/sort" for Sort
import "./sort" for Sort
import "/math" for Int
import "./math" for Int
import "/fmt" for Fmt
import "./fmt" for Fmt


var Point = Tuple.create("Point", ["x", "y", "z"])
var Point = Tuple.create("Point", ["x", "y", "z"])