목차
없음
본문내용
// Solarsystem.c
// OpenGL SuperBible,
// Demonstrates OpenGL nested coordinate transformations
// and perspective
// Program by Richard S. Wright Jr.
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glut.h>
#include <math.h>
// Lighting values
GLfloat whiteLight[] = { 0.5f, 0.5f, 0.5f, 1.0f };
GLfloat sourceLight[] = { 0.8f, 0.8f, 0.8f, 1.0f };
GLfloat lightPos[] = { 0.0f, 0.0f, 0.0f, 1.0f };
#define GL_PI 3.1415f
참고 자료
없음