project
Projects a Cartesian point to screen coordinates. The resultant screen point is in OpenGL screen coordinates, with the origin in the bottom-left corner and axes that extend up and to the right from the origin.
This stores the projected point in the result argument, and returns a boolean value indicating whether or not the projection is successful. This returns false if the Cartesian point is clipped by the near clipping plane or the far clipping plane.
Return
true if the transformation is successful, otherwise false
Parameters
model Point
the Cartesian point to project
result
a pre-allocated Vec3 in which to return the projected point