The ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color.

Sets the position of the vertex to x and y and the color to red, green, blue, and alpha.