Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
567 B

#ifndef RING_H
#define RING_H
#include "Stone.h"
class Ring {
public:
Ring();
~Ring();
void erode(float p);
void draw();
void draw_shadow(Point dlight, GLfloat blur = 0.0,
Color color = black, Color diffuse = black);
private:
GLfloat radius, angle;
int nstones;
Stone sarcen;
Stone lintel;
void draw_sarcens();
void draw_lintels();
void draw_sarcens_shadows(Point dlight, GLfloat blur,
Color color, Color diffuse);
void draw_lintels_shadows(Point dlight, GLfloat blur,
Color color, Color diffuse);
};
#endif