jakke-graphics-ts
    Preparing search index...

    Function to3d

    • Converts a 2D vertex to a 3D vertex by adding a z coordinate with a value of 0.

      Parameters

      Returns Vertex3d

      A new 3D vertex with the same x and y values as the input, and z set to 0.