NGL  6.5
The NCCA Graphics Library
Icosahedron.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 Jon Macey
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundationf, either version 3 of the Licensef, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be usefulf,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If notf, see <http://www.gnu.org/licenses/>.
16 */
17 // VBO File in the format txf,tyf,nxf,nyf,nzf,vxf,vyf,vz for use with LoadBinaryVBO function in
18 // VBOPrimitives.cpp from the NCCA GraphicsLib.
19 //Automatically generated using WriteVBO function
20 // \brief data for a unit icosahedron stored in GL_T2_N3_V3 format
23 #ifndef ICOSAHEDRON_H_
24 #define ICOSAHEDRON_H_
25 namespace ngl{
26 constexpr int icosahedronSIZE=480;
28 
29  0.909091f,0.583333f,0.934172f,-0.356822f,0.0f,0.850651f,0.0f,0.525731f,
30  0.818182f,0.75f,0.934172f,-0.356822f,0.0f,0.525731f,-0.850651f,0.0f,
31  0.727273f,0.583333f,0.934172f,-0.356822f,0.0f,0.850651f,0.0f,-0.525731f,
32  0.727273f,0.583333f,0.934172f,0.356822f,0.0f,0.850651f,0.0f,-0.525731f,
33  0.818182f,0.416667f,0.934172f,0.356822f,0.0f,0.525731f,0.850651f,0.0f,
34  0.909091f,0.583333f,0.934172f,0.356822f,0.0f,0.850651f,0.0f,0.525731f,
35  0.727273f,0.583333f,0.356822f,0.0f,-0.934172f,0.850651f,0.0f,-0.525731f,
36  0.545455f,0.583333f,0.356822f,0.0f,-0.934172f,0.0f,-0.525731f,-0.850651f,
37  0.636364f,0.416667f,0.356822f,0.0f,-0.934172f,0.0f,0.525731f,-0.850651f,
38  0.727273f,0.583333f,0.57735f,0.57735f,-0.57735f,0.850651f,0.0f,-0.525731f,
39  0.636364f,0.416667f,0.57735f,0.57735f,-0.57735f,0.0f,0.525731f,-0.850651f,
40  0.818182f,0.416667f,0.57735f,0.57735f,-0.57735f,0.525731f,0.850651f,0.0f,
41  0.727273f,0.583333f,0.57735f,-0.57735f,-0.57735f,0.850651f,0.0f,-0.525731f,
42  0.636364f,0.75f,0.57735f,-0.57735f,-0.57735f,0.525731f,-0.850651f,0.0f,
43  0.545455f,0.583333f,0.57735f,-0.57735f,-0.57735f,0.0f,-0.525731f,-0.850651f,
44  0.181818f,0.583333f,0.356822f,0.0f,0.934172f,0.0f,-0.525731f,0.850651f,
45  0.f,0.583333f,0.356822f,0.0f,0.934172f,0.850651f,0.0f,0.525731f,
46  0.090909f,0.416667f,0.356822f,0.0f,0.934172f,0.0f,0.525731f,0.850651f,
47  0.090909f,0.75f,0.57735f,-0.57735f,0.57735f,0.525731f,-0.850651f,0.0f,
48  0.f,0.583333f,0.57735f,-0.57735f,0.57735f,0.850651f,0.0f,0.525731f,
49  0.181818f,0.583333f,0.57735f,-0.57735f,0.57735f,0.0f,-0.525731f,0.850651f,
50  0.909091f,0.583333f,0.57735f,0.57735f,0.57735f,0.850651f,0.0f,0.525731f,
51  0.818182f,0.416667f,0.57735f,0.57735f,0.57735f,0.525731f,0.850651f,0.0f,
52  1.f,0.416667f,0.57735f,0.57735f,0.57735f,0.0f,0.525731f,0.850651f,
53  0.454545f,0.416667f,-0.934172f,-0.356822f,0.0f,-0.850651f,0.0f,-0.525731f,
54  0.363636f,0.583333f,-0.934172f,-0.356822f,0.0f,-0.525731f,-0.850651f,0.0f,
55  0.272727f,0.416667f,-0.934172f,-0.356822f,0.0f,-0.850651f,0.0f,0.525731f,
56  0.272727f,0.416667f,-0.934172f,0.356822f,0.0f,-0.850651f,0.0f,0.525731f,
57  0.363636f,0.25f,-0.934172f,0.356822f,0.0f,-0.525731f,0.850651f,0.0f,
58  0.454545f,0.416667f,-0.934172f,0.356822f,0.0f,-0.850651f,0.0f,-0.525731f,
59  0.181818f,0.583333f,-0.356822f,0.0f,0.934172f,0.0f,-0.525731f,0.850651f,
60  0.090909f,0.416667f,-0.356822f,0.0f,0.934172f,0.0f,0.525731f,0.850651f,
61  0.272727f,0.416667f,-0.356822f,0.0f,0.934172f,-0.850651f,0.0f,0.525731f,
62  0.272727f,0.416667f,-0.57735f,-0.57735f,0.57735f,-0.850651f,0.0f,0.525731f,
63  0.363636f,0.583333f,-0.57735f,-0.57735f,0.57735f,-0.525731f,-0.850651f,0.0f,
64  0.181818f,0.583333f,-0.57735f,-0.57735f,0.57735f,0.0f,-0.525731f,0.850651f,
65  0.090909f,0.416667f,-0.57735f,0.57735f,0.57735f,0.0f,0.525731f,0.850651f,
66  0.181818f,0.25f,-0.57735f,0.57735f,0.57735f,-0.525731f,0.850651f,0.0f,
67  0.272727f,0.416667f,-0.57735f,0.57735f,0.57735f,-0.850651f,0.0f,0.525731f,
68  0.636364f,0.416667f,-0.356822f,0.0f,-0.934172f,0.0f,0.525731f,-0.850651f,
69  0.545455f,0.583333f,-0.356822f,0.0f,-0.934172f,0.0f,-0.525731f,-0.850651f,
70  0.454545f,0.416667f,-0.356822f,0.0f,-0.934172f,-0.850651f,0.0f,-0.525731f,
71  0.454545f,0.416667f,-0.57735f,0.57735f,-0.57735f,-0.850651f,0.0f,-0.525731f,
72  0.545455f,0.25f,-0.57735f,0.57735f,-0.57735f,-0.525731f,0.850651f,0.0f,
73  0.636364f,0.416667f,-0.57735f,0.57735f,-0.57735f,0.0f,0.525731f,-0.850651f,
74  0.454545f,0.416667f,-0.57735f,-0.57735f,-0.57735f,-0.850651f,0.0f,-0.525731f,
75  0.545455f,0.583333f,-0.57735f,-0.57735f,-0.57735f,0.0f,-0.525731f,-0.850651f,
76  0.363636f,0.583333f,-0.57735f,-0.57735f,-0.57735f,-0.525731f,-0.850651f,0.0f,
77  0.181818f,0.583333f,0.0f,-0.934172f,0.356822f,0.0f,-0.525731f,0.850651f,
78  0.363636f,0.583333f,0.0f,-0.934172f,0.356822f,-0.525731f,-0.850651f,0.0f,
79  0.272727f,0.75f,0.0f,-0.934172f,0.356822f,0.525731f,-0.850651f,0.0f,
80  1.f,0.416667f,0.0f,0.934172f,0.356822f,0.0f,0.525731f,0.850651f,
81  0.818182f,0.416667f,0.0f,0.934172f,0.356822f,0.525731f,0.850651f,0.0f,
82  0.909091f,0.25f,0.0f,0.934172f,0.356822f,-0.525731f,0.850651f,0.0f,
83  0.636364f,0.416667f,0.0f,0.934172f,-0.356822f,0.0f,0.525731f,-0.850651f,
84  0.727273f,0.25f,0.0f,0.934172f,-0.356822f,-0.525731f,0.850651f,0.0f,
85  0.818182f,0.416667f,0.0f,0.934172f,-0.356822f,0.525731f,0.850651f,0.0f,
86  0.545455f,0.583333f,0.0f,-0.934172f,-0.356822f,0.0f,-0.525731f,-0.850651f,
87  0.454545f,0.75f,0.0f,-0.934172f,-0.356822f,0.525731f,-0.850651f,0.0f,
88  0.363636f,0.583333f,0.0f,-0.934172f,-0.356822f,-0.525731f,-0.850651f,0.f
89 };
90 
91 } //end namespace ngl
92 #endif
93 
94 
implementation files for RibExport class
Definition: AABB.cpp:22
static float icosahedron[icosahedronSIZE]
Definition: Icosahedron.h:27
constexpr int icosahedronSIZE
Definition: Icosahedron.h:26