wasm-spatial-core
    Preparing search index...

    Function parseObjWithNormals

    • Extract vertex positions and normals from an OBJ file.

      Returns a JS object: { positions: Float32Array, normals: Float32Array | null }. Normals are matched to vertices by order; returns null if counts don't match.

      Parameters

      • text: string

      Returns object