0

I'm trying to use openGL for 2D rendering. I have a basic function moving squares from one end of the screen to the other and repositioning them once they have gone off screen.

My problem is that I don't know how to get accurate representations of the screen in floating point values. Right now, -1.8f is the left side of my screen. I'm assuming this would only work for my own device. Am I correct?

How would I accurately find lets say, the bottom left of the screen?

genpfault
  • 51,148
  • 11
  • 85
  • 139
JP_
  • 1,636
  • 15
  • 26

0 Answers0