3D point to screen position. Discarding the points behind the camera in OpenGL

后端 未结 0 626
春和景丽
春和景丽 2020-12-06 02:00

I\'m try to convert a 3D point to its screen position.

this is the code that I use.

glm::vec2 screenPosition(const glm::vec3 & _coord) const {
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题