Though this is for a specific question for something I am coding, I will ask it in a broader term for the help of others.
How do I find the polygon outline of an object in lwjgl. So lets say I have a cube drawn in 3d. How do I know if the mouse cerser (or the screen center) is aimed at that block. For example, how does minecraft know which block you are aiming at. Or how does World of Tanks know that your sight is aimed over an enemy tank (A 3d polygon in the distance).
Thanks in advanced for any answers!