Professional Documents
Culture Documents
Chap 4-1
Chap 4-1
Chapter 4
#include<glut.h>
IMPLEMENTATION
#include<stdlib.h>
#include<stdio.h>
= 30 month Speed
GLfloat sunDay=0.0;
GLfloat earthDay=0.0;
GLfloat moonDay=0.0;
GLfloat year=0.0;
GLfloat month=0.0;
GLfloat sunDaySpeed=3;
GLfloat earthDaySpeed=10;
//any value
IMPLEMENTATION
glPushMatrix();
2015-16