hex-world
    Preparing search index...

    Function mergeColored

    • Concatenate geometries into one non-indexed buffer, painting each with a flat vertex colour.

      Written out rather than pulled from BufferGeometryUtils to keep the library free of a three/examples dependency, and because this only ever has to handle the three attributes a scatter mesh uses.

      Parameters

      • parts: { geometry: BufferGeometry; color: Color }[]

      Returns BufferGeometry