Converts a 2D vertex to a 3D vertex by adding a z coordinate with a value of 0.
z
0
The 2D vertex to convert.
A new 3D vertex with the same x and y values as the input, and z set to 0.
x
y
Converts a 2D vertex to a 3D vertex by adding a
z
coordinate with a value of0
.