Skip to content

Instantly share code, notes, and snippets.

@Domenik
Domenik / dabblet.css
Created December 13, 2012 10:42
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@Domenik
Domenik / dabblet.css
Created December 13, 2012 10:42
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
#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};