#include <windows.h>#include <gl\gl.h>#include <gl\glu.h>#include <gl\glaux.h>#include "MyString.h"#include "openGL_tools.h"#include "MyDebug.h"#include <math.h>#include "wglext.h"#include "glext.h"Go to the source code of this file.
Defines | |
| #define | WGL_SAMPLE_BUFFERS_ARB 0x2041 |
| #define | WGL_SAMPLES_ARB 0x2042 |
| #define | PI_ 3.14159265358979323846 |
Functions | |
| BOOL | OpenGL_TestError (BOOL resultOnMessageBox, BOOL resultOnMyDebug, HWND hWnd) |
| Test s'il y a une erreur openGL. | |
| void | OpenGL_ViewVersionExtansions (char *extensions, MyString &result) |
| void | OpenGL_ViewVersion () |
| BOOL | OpenGL_ExtensionSupported (const char *extension) |
| int | OpenGL_InitMultisample (HWND hWnd) |
| void | accFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus) |
| void | accPerspective (GLdouble fovy, GLdouble aspect, GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus) |
|
|
Definition at line 226 of file openGL_tools.cpp. Referenced by accPerspective(). |
|
|
Definition at line 130 of file openGL_tools.cpp. |
|
|
Definition at line 131 of file openGL_tools.cpp. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 243 of file openGL_tools.cpp. References bottom, GLint(), and top. Referenced by accPerspective(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 280 of file openGL_tools.cpp. References accFrustum(), bottom, PI_, and top. Referenced by ControlEngine::SetPerspective(). |
|
|
Definition at line 133 of file openGL_tools.cpp. References BOOL(), HDC(), and p. Referenced by OpenGL_InitMultisample(). |
|
|
Definition at line 173 of file openGL_tools.cpp. References HDC(), OpenGL_ExtensionSupported(), WGL_ACCELERATION_ARB, WGL_ALPHA_BITS_ARB, WGL_COLOR_BITS_ARB, WGL_DEPTH_BITS_ARB, WGL_DOUBLE_BUFFER_ARB, WGL_DRAW_TO_WINDOW_ARB, WGL_FULL_ACCELERATION_ARB, WGL_SAMPLE_BUFFERS_ARB, WGL_SAMPLES_ARB, WGL_STENCIL_BITS_ARB, and WGL_SUPPORT_OPENGL_ARB. Referenced by Screen::BindOpenGL(). |
|
||||||||||||||||
|
Test s'il y a une erreur openGL. si hWnd specifié, arrete le timer si erreur
Definition at line 35 of file openGL_tools.cpp. References MyString::AddFormat(), BOOL(), MyString::Format(), and MyDebug::SendLine(). |
|
|
Definition at line 111 of file openGL_tools.cpp. References OpenGL_ViewVersionExtansions(). |
|
||||||||||||
|
Definition at line 94 of file openGL_tools.cpp. Referenced by OpenGL_ViewVersion(). |
1.3.6