Is there is an easy way to draw a line from a 3D point, in this case, it's 0, 0, 0, to the center of the screen?
Asked
Active
Viewed 479 times
1 Answers
2
You could use gluUnProject to figure out the 3D coordinates of the screen center (at a given depth), then draw a line between two 3D points.

Stefan Haustein
- 18,427
- 3
- 36
- 51