Hello,
seeing as I have found out GLES 1.0 is not compatible with the glGet*
functions, how can I store this internally in my app? here is a code
example
void Camera::SetProjectionMatrix(float aspect, float fov, float
nearPlane, float farPlane)
{
glMatrixMode(GL_PROJECTION);
float top, bottom, left, right;
top = tan(fov*0.5) * nearPlane;
bottom = -top;
left = aspect * bottom;
right = aspect * top;
glLoadIdentity();
glFrustumf(left,right,bottom,top,nearPlane,farPlane);
glMatrixMode(GL_MODELVIEW);
m_dirty = true;
}
I am using GLES 1.0 and am using native OpenGL for the Android.
Thanks alot