@equinor/videx-3d
    Preparing search index...

    Function subdivideGeometry

    • 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.

      Parameters

      • geometry: BufferGeometry
      • iterations: number

      Returns void