This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <glut.h> | |
#include <glaux.h> | |
#include <math.h> | |
#pragma comment(lib,"glaux.lib") | |
#define TETR_LIST 1 | |
GLfloat light_col[] = {1,1,1}; | |
float mat_diff1[]={0.8,0.8,0.8}; | |
float mat_diff2[]={0.0,0.0,0.9}; | |
float mat_amb[]= {0.2,0.2,0.2}; | |
float mat_spec[]={0.6,0.6,0.6}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |