I am trying to get the screen location of a 3D point.
I scraped together code from some online sources into this:


glm::vec2 ProjPoint(Cam* camera, glm::vec3 p) {
glm::vec3 front;
front.x =...