Android. OpenGL ES draw screen size square in ortho projection
问题 I'm new in openGL ES. I read simple tutorials but i have problem with setup Ortho and draw screen size square. Could you provide simple code as example ? 回答1: A nice usage of the orthographic projection is that you can specify how big influence a single float will have in your application when you're setting your vertex data. For example, consider this explanation: float right = 5.0f float top = 4.0f glOrthof(0.0f, right, 0.0f, top); In the image above; an object that has a quad (built from