webgpu-utils

    Function generateTriangleNormals

    • Generate triangle normals from positions. Assumes every 3 values is a position and every 3 positions come from the same triangle

      Parameters

      • positions: Float32Array

      Returns Float32Array

    MMNEPVFCICPMFPCPTTAAATR