-
Notifications
You must be signed in to change notification settings - Fork 0
/
pp1.h
24 lines (19 loc) · 1.22 KB
/
pp1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*********************************************************************************/
/* Programming Project 1: */
/* */
/* Header file for Programming Assignment #1. */
/* */
/* This header file contains definitions if the light sources and material */
/* properties of the torus material */
/* */
/*********************************************************************************/
GLfloat shininess[] = {100.0};
GLfloat mat_ambient [] = {0.2, 0.2, 0.2, 1.0};
GLfloat mat_specular[] = {1.0, 1.0, 1.0, 1.0};
GLfloat mat_diffuse [] = {0.8, 0.0, 0.8, 1.0};
GLfloat light1_ambient[] = {0.0, 0.0, 0.5, 1.0};
GLfloat light1_position[] = {0.7071, 0.7071, 0.0, 0.0};
GLfloat light1_diffuse[] = {1.0, 1.0, 1.0, 1.0};
GLfloat light0_ambient[] = {0.5, 0.0, 0.0, 1.0};
GLfloat light0_position[] = {-0.7071, 0.7071, 0.0, 0.0};
GLfloat light0_diffuse[] = {1.0, 1.0, 1.0, 1.0};