Hi, my question is simple but I can’t find answer anywere.
I draw rectangle with rWidth that (0, 0) is in the center. How far translate it to deep along Z axis so as to left and right border of rect touch exactly screen border with sWidth?
I find this: sWidth/sin(45) but this isn’t precise (bit deeply). Is there any formula on this?
Im using OpenGL ES on win mobile.