Midpoint-subdivide an indexed geometry iterations times, splitting every
triangle into four (each edge midpoint is shared between adjacent triangles).
Only the position attribute is interpolated; stale normal/uv attributes
are dropped (recompute them afterwards). A no-op when the geometry has no
index or iterations <= 0.
Midpoint-subdivide an indexed geometry
iterationstimes, splitting every triangle into four (each edge midpoint is shared between adjacent triangles). Only thepositionattribute is interpolated; stalenormal/uvattributes are dropped (recompute them afterwards). A no-op when the geometry has no index oriterations <= 0.