00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #ifndef INCLUDE_OPENGL_TOOLS_H
00024 #define INCLUDE_OPENGL_TOOLS_H
00025
00026 BOOL OpenGL_TestError(BOOL resultOnMessageBox=TRUE,BOOL resultOnMyDebug=FALSE,HWND hWnd=NULL);
00027 void OpenGL_ViewVersionExtansions(char *extensions,MyString &result);
00028 void OpenGL_ViewVersion();
00029 int OpenGL_InitMultisample(HWND hWnd);
00030 BOOL OpenGL_ExtensionSupported(const char *extension);
00031
00032 void accFrustum(GLdouble left, GLdouble right, GLdouble bottom,
00033 GLdouble top, GLdouble znear, GLdouble zfar, GLdouble pixdx,
00034 GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus);
00035 void accPerspective(GLdouble fovy, GLdouble aspect,
00036 GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy,
00037 GLdouble eyedx, GLdouble eyedy, GLdouble focus);
00038 #endif