-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathXdodecaedro.h
More file actions
40 lines (32 loc) · 1023 Bytes
/
Xdodecaedro.h
File metadata and controls
40 lines (32 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Xdodecaedro.h: interface for the Xdodecaedro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_XDODECAEDRO_H__FFE3E142_1D14_4E36_A3A9_DF540666554A__INCLUDED_)
#define AFX_XDODECAEDRO_H__FFE3E142_1D14_4E36_A3A9_DF540666554A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Punto3D.h"
#include "Cara.h"
#include "Visual.h"
#include "Ventana.h"
#include "Figura.h"
#include "Arista.h"
#include "Poligono.h"
class Xdodecaedro : public Poligono {
private:
Punto3D vertices[20];
float RGBaristas[3];
float RGBcaras[3];
Cara * caras[12];
public:
Xdodecaedro(double);
virtual ~Xdodecaedro();
void dibujar(Visual, Ventana);
void CalcularLandas(Visual);
void CalcularLandaMin();
void modRGBaristas(float r, float g, float b);
void modRGBcaras(float r, float g, float b);
Punto3D * listaVertices() { return vertices; }
};
#endif // !defined(AFX_XDODECAEDRO_H__FFE3E142_1D14_4E36_A3A9_DF540666554A__INCLUDED_)