we
    Preparing search index...

    Function computeFaceNormalsArrayFromPositionsAndIndices

    • 从顶点位置和索引计算面法线:索引模式

      Parameters

      • positions: number[]

        顶点位置数组(格式:[x0,y0,z0, x1,y1,z1, ...])

      • indices: number[]

        三角面索引数组(格式:[i0,i1,i2, i3,i4,i5, ...])

      Returns number[]

      三角面法线数组(格式与 indices 一致)