• Applies a rotation to each point in a set of 3D points, and places the results in outPoints.

    points - Float32Array of size (point count * 3). Points to rotate

    pointsShape - Should be {3, point count, 1}

    rotation - Quaternion rotation to apply

    outPoints - Float32Array of size (point count * 3). Resulting rotated points are placed here

    Parameters

    • points: Float32Array
    • pointsShape: vec3
    • rotation: quat
    • outPoints: Float32Array

    Returns void