2
// This unit is part of the GLScene Engine https://github.com/glscene
8
10/03/13 - PW - Added TGLTetrahedron and TGLOctahedron classes
9
23/08/10 - Yar - Added OpenGLTokens to uses
10
20/01/04 - SG - Added TGLIcosahedron
11
21/07/03 - EG - Creation from GLObjects split
20
GLScene, GLVectorGeometry, GLRenderContextInfo;
27
The dodecahedron has no texture coordinates defined, ie. without using
28
a texture generation mode, no texture will be mapped. }
29
TGLDodecahedron = class(TGLSceneObject)
32
procedure BuildList(var rci: TGLRenderContextInfo); override;
38
The icosahedron has no texture coordinates defined, ie. without using
39
a texture generation mode, no texture will be mapped. }
40
TGLIcosahedron = class(TGLSceneObject)
43
procedure BuildList(var rci: TGLRenderContextInfo); override;
49
The octahedron has no texture coordinates defined, ie. without using
50
a texture generation mode, no texture will be mapped. }
51
TGLOctahedron = class(TGLSceneObject)
54
procedure BuildList(var rci: TGLRenderContextInfo); override;
60
The tetrahedron has no texture coordinates defined, ie. without using
61
a texture generation mode, no texture will be mapped. }
62
TGLTetrahedron = class(TGLSceneObject)
65
procedure BuildList(var rci: TGLRenderContextInfo); override;
69
//-------------------------------------------------------------
70
//-------------------------------------------------------------
71
//-------------------------------------------------------------
73
//-------------------------------------------------------------
74
//-------------------------------------------------------------
75
//-------------------------------------------------------------
80
// ------------------ TGLDodecahedron ------------------
86
procedure TGLDodecahedron.BuildList(var rci: TGLRenderContextInfo);
88
DodecahedronBuildList;
92
// ------------------ TGLIcosahedron ------------------
98
procedure TGLIcosahedron.BuildList(var rci: TGLRenderContextInfo);
100
IcosahedronBuildList;
103
//--------------------
104
//-------------------- TGLOctahedron ------------------------
105
//--------------------
109
procedure TGLOctahedron.BuildList(var rci: TGLRenderContextInfo);
114
//--------------------
115
//-------------------- TGLTetrahedron ------------------------
116
//--------------------
120
procedure TGLTetrahedron.BuildList(var rci: TGLRenderContextInfo);
122
TetrahedronBuildList;
126
//-------------------------------------------------------------
127
//-------------------------------------------------------------
128
//-------------------------------------------------------------
130
RegisterClasses([TGLDodecahedron, TGLIcosahedron, TGLOctahedron, TGLTetrahedron]);