Flying Lemurs: Fly for Fun
OpenGL TUTORIALS

Basic OpenGL TUTORIALS

Using a Win32 Single Document Interface Project, place this code into the main.cpp file.

#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>

LONG WINAPI WndProc(HWND,UINT,WPARAM,LPARAM);//Window procedure
HGLRC SetUpOpenGL(HWND hwnd);//Initialize OpenGL
void DrawOpenGLScene(void);//Actual Drawing code





Copyright 2008 Flying Lemurs.