AutoMovie API
    Preparing search index...

    Function transformAutoMovieDrawingTriangles

    • Move every triangle of a list by one column-major affine matrix, usually an element's world matrix.

      Corner order is kept, so the winding the silhouette pass reads survives whenever the matrix preserves orientation. A mirroring matrix, one with a negative determinant from an odd number of negative scale axes, reverses the apparent facing of every triangle, and the drafter does not compensate.

      Parameters

      • matrix: readonly number[]

        Column-major affine matrix of sixteen numbers.

      • triangles: readonly IAutoMovieDrawingTriangle[]

        Triangles in the matrix's source frame.

      Returns IAutoMovieDrawingTriangle[]

      New triangles in the matrix's target frame, in input order.