NGL  6.5
The NCCA Graphics Library
Dodecahedron.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 dodecahedron stored in GL_T2_N3_V3 format
23 #ifndef DODECAHEDRON_H_
24 #define DODECAHEDRON_H_
25 namespace ngl {
26 constexpr int dodecahedronSIZE=864;
28 
29  0.198213f,0.559017f,0.850651f,0.0f,-0.525731f,0.934172f,-0.356822f,0.0f,
30  0.099106f,0.631966f,0.850651f,0.0f,-0.525731f,0.57735f,-0.57735f,-0.57735f,
31  0.160357f,0.440983f,0.850651f,0.0f,-0.525731f,0.934172f,0.356822f,0.0f,
32  0.099106f,0.631966f,0.850651f,0.0f,-0.525731f,0.57735f,-0.57735f,-0.57735f,
33  0.f,0.559017f,0.850651f,0.0f,-0.525731f,0.356822f,0.0f,-0.934172f,
34  0.160357f,0.440983f,0.850651f,0.0f,-0.525731f,0.934172f,0.356822f,0.0f,
35  0.f,0.559017f,0.850651f,0.0f,-0.525731f,0.356822f,0.0f,-0.934172f,
36  0.037855f,0.440983f,0.850651f,0.0f,-0.525731f,0.57735f,0.57735f,-0.57735f,
37  0.160357f,0.440983f,0.850651f,0.0f,-0.525731f,0.934172f,0.356822f,0.0f,
38  0.259464f,0.368034f,0.850651f,-0.f,0.525731f,0.57735f,0.57735f,0.57735f,
39  0.35857f,0.440983f,0.850651f,-0.f,0.525731f,0.356822f,0.0f,0.934172f,
40  0.160357f,0.440983f,0.850651f,-0.f,0.525731f,0.934172f,0.356822f,0.0f,
41  0.35857f,0.440983f,0.850651f,0.0f,0.525731f,0.356822f,0.0f,0.934172f,
42  0.320715f,0.559017f,0.850651f,0.0f,0.525731f,0.57735f,-0.57735f,0.57735f,
43  0.160357f,0.440983f,0.850651f,0.0f,0.525731f,0.934172f,0.356822f,0.0f,
44  0.320715f,0.559017f,0.850651f,0.0f,0.525731f,0.57735f,-0.57735f,0.57735f,
45  0.198213f,0.559017f,0.850651f,0.0f,0.525731f,0.934172f,-0.356822f,0.0f,
46  0.160357f,0.440983f,0.850651f,0.0f,0.525731f,0.934172f,0.356822f,0.0f,
47  0.198213f,0.559017f,0.525731f,-0.850651f,0.0f,0.934172f,-0.356822f,0.0f,
48  0.320715f,0.559017f,0.525731f,-0.850651f,0.0f,0.57735f,-0.57735f,0.57735f,
49  0.160357f,0.677051f,0.525731f,-0.850651f,0.0f,0.57735f,-0.57735f,-0.57735f,
50  0.320715f,0.559017f,0.525731f,-0.850651f,0.0f,0.57735f,-0.57735f,0.57735f,
51  0.35857f,0.677051f,0.525731f,-0.850651f,0.0f,0.f,-0.934172f,0.356822f,
52  0.160357f,0.677051f,0.525731f,-0.850651f,0.0f,0.57735f,-0.57735f,-0.57735f,
53  0.35857f,0.677051f,0.525731f,-0.850651f,0.0f,0.f,-0.934172f,0.356822f,
54  0.259464f,0.75f,0.525731f,-0.850651f,0.0f,0.f,-0.934172f,-0.356822f,
55  0.160357f,0.677051f,0.525731f,-0.850651f,0.0f,0.57735f,-0.57735f,-0.57735f,
56  0.35857f,0.440983f,0.0f,-0.525731f,0.850651f,0.356822f,0.0f,0.934172f,
57  0.481072f,0.440983f,0.0f,-0.525731f,0.850651f,-0.356822f,0.0f,0.934172f,
58  0.320715f,0.559017f,0.0f,-0.525731f,0.850651f,0.57735f,-0.57735f,0.57735f,
59  0.481072f,0.440983f,0.0f,-0.525731f,0.850651f,-0.356822f,0.0f,0.934172f,
60  0.518928f,0.559017f,0.0f,-0.525731f,0.850651f,-0.57735f,-0.57735f,0.57735f,
61  0.320715f,0.559017f,0.0f,-0.525731f,0.850651f,0.57735f,-0.57735f,0.57735f,
62  0.518928f,0.559017f,0.0f,-0.525731f,0.850651f,-0.57735f,-0.57735f,0.57735f,
63  0.419821f,0.631966f,0.0f,-0.525731f,0.850651f,0.0f,-0.934172f,0.356822f,
64  0.320715f,0.559017f,0.0f,-0.525731f,0.850651f,0.57735f,-0.57735f,0.57735f,
65  0.580179f,0.75f,-0.525731f,-0.850651f,0.0f,0.f,-0.934172f,0.356822f,
66  0.542323f,0.631966f,-0.525731f,-0.850651f,0.0f,-0.57735f,-0.57735f,0.57735f,
67  0.702681f,0.75f,-0.525731f,-0.850651f,0.0f,0.f,-0.934172f,-0.356822f,
68  0.542323f,0.631966f,-0.525731f,-0.850651f,-0.f,-0.57735f,-0.57735f,0.57735f,
69  0.64143f,0.559017f,-0.525731f,-0.850651f,-0.f,-0.934172f,-0.356822f,0.0f,
70  0.702681f,0.75f,-0.525731f,-0.850651f,-0.f,0.0f,-0.934172f,-0.356822f,
71  0.64143f,0.559017f,-0.525731f,-0.850651f,0.0f,-0.934172f,-0.356822f,0.0f,
72  0.740536f,0.631966f,-0.525731f,-0.850651f,0.0f,-0.57735f,-0.57735f,-0.57735f,
73  0.702681f,0.75f,-0.525731f,-0.850651f,0.0f,0.f,-0.934172f,-0.356822f,
74  0.900894f,0.75f,-0.f,-0.525731f,-0.850651f,0.57735f,-0.57735f,-0.57735f,
75  0.778391f,0.75f,-0.f,-0.525731f,-0.850651f,0.0f,-0.934172f,-0.356822f,
76  0.938749f,0.631966f,-0.f,-0.525731f,-0.850651f,0.356822f,0.0f,-0.934172f,
77  0.778391f,0.75f,0.0f,-0.525731f,-0.850651f,0.0f,-0.934172f,-0.356822f,
78  0.740536f,0.631966f,0.0f,-0.525731f,-0.850651f,-0.57735f,-0.57735f,-0.57735f,
79  0.938749f,0.631966f,0.0f,-0.525731f,-0.850651f,0.356822f,0.0f,-0.934172f,
80  0.740536f,0.631966f,0.0f,-0.525731f,-0.850651f,-0.57735f,-0.57735f,-0.57735f,
81  0.839643f,0.559017f,0.0f,-0.525731f,-0.850651f,-0.356822f,0.0f,-0.934172f,
82  0.938749f,0.631966f,0.0f,-0.525731f,-0.850651f,0.356822f,0.0f,-0.934172f,
83  0.962145f,0.559017f,0.0f,0.525731f,-0.850651f,0.356822f,0.0f,-0.934172f,
84  0.839643f,0.559017f,0.0f,0.525731f,-0.850651f,-0.356822f,0.0f,-0.934172f,
85  1.f,0.440983f,0.0f,0.525731f,-0.850651f,0.57735f,0.57735f,-0.57735f,
86  0.839643f,0.559017f,0.0f,0.525731f,-0.850651f,-0.356822f,0.0f,-0.934172f,
87  0.801787f,0.440983f,0.0f,0.525731f,-0.850651f,-0.57735f,0.57735f,-0.57735f,
88  1.f,0.440983f,0.0f,0.525731f,-0.850651f,0.57735f,0.57735f,-0.57735f,
89  0.801787f,0.440983f,0.0f,0.525731f,-0.850651f,-0.57735f,0.57735f,-0.57735f,
90  0.900894f,0.368034f,0.0f,0.525731f,-0.850651f,0.0f,0.934172f,-0.356822f,
91  1.f,0.440983f,0.0f,0.525731f,-0.850651f,0.57735f,0.57735f,-0.57735f,
92  0.160357f,0.440983f,0.525731f,0.850651f,0.0f,0.934172f,0.356822f,0.0f,
93  0.061251f,0.368034f,0.525731f,0.850651f,0.0f,0.57735f,0.57735f,-0.57735f,
94  0.259464f,0.368034f,0.525731f,0.850651f,0.0f,0.57735f,0.57735f,0.57735f,
95  0.061251f,0.368034f,0.525731f,0.850651f,0.0f,0.57735f,0.57735f,-0.57735f,
96  0.099106f,0.25f,0.525731f,0.850651f,0.0f,0.f,0.934172f,-0.356822f,
97  0.259464f,0.368034f,0.525731f,0.850651f,0.0f,0.57735f,0.57735f,0.57735f,
98  0.099106f,0.25f,0.525731f,0.850651f,0.0f,0.f,0.934172f,-0.356822f,
99  0.221609f,0.25f,0.525731f,0.850651f,0.0f,0.f,0.934172f,0.356822f,
100  0.259464f,0.368034f,0.525731f,0.850651f,0.0f,0.57735f,0.57735f,0.57735f,
101  0.259464f,0.368034f,-0.f,0.525731f,0.850651f,0.57735f,0.57735f,0.57735f,
102  0.297319f,0.25f,-0.f,0.525731f,0.850651f,0.0f,0.934172f,0.356822f,
103  0.35857f,0.440983f,-0.f,0.525731f,0.850651f,0.356822f,0.0f,0.934172f,
104  0.297319f,0.25f,0.0f,0.525731f,0.850651f,0.0f,0.934172f,0.356822f,
105  0.419821f,0.25f,0.0f,0.525731f,0.850651f,-0.57735f,0.57735f,0.57735f,
106  0.35857f,0.440983f,0.0f,0.525731f,0.850651f,0.356822f,0.0f,0.934172f,
107  0.419821f,0.25f,0.0f,0.525731f,0.850651f,-0.57735f,0.57735f,0.57735f,
108  0.457677f,0.368034f,0.0f,0.525731f,0.850651f,-0.356822f,0.0f,0.934172f,
109  0.35857f,0.440983f,0.0f,0.525731f,0.850651f,0.356822f,0.0f,0.934172f,
110  0.64143f,0.559017f,-0.850651f,0.0f,0.525731f,-0.934172f,-0.356822f,0.0f,
111  0.518928f,0.559017f,-0.850651f,0.0f,0.525731f,-0.57735f,-0.57735f,0.57735f,
112  0.679285f,0.440983f,-0.850651f,0.0f,0.525731f,-0.934172f,0.356822f,0.0f,
113  0.518928f,0.559017f,-0.850651f,0.0f,0.525731f,-0.57735f,-0.57735f,0.57735f,
114  0.481072f,0.440983f,-0.850651f,0.0f,0.525731f,-0.356822f,0.0f,0.934172f,
115  0.679285f,0.440983f,-0.850651f,0.0f,0.525731f,-0.934172f,0.356822f,0.0f,
116  0.481072f,0.440983f,-0.850651f,0.0f,0.525731f,-0.356822f,0.0f,0.934172f,
117  0.580179f,0.368034f,-0.850651f,0.0f,0.525731f,-0.57735f,0.57735f,0.57735f,
118  0.679285f,0.440983f,-0.850651f,0.0f,0.525731f,-0.934172f,0.356822f,0.0f,
119  0.679285f,0.440983f,-0.525731f,0.850651f,0.0f,-0.934172f,0.356822f,0.0f,
120  0.64143f,0.322949f,-0.525731f,0.850651f,0.0f,-0.57735f,0.57735f,0.57735f,
121  0.801787f,0.440983f,-0.525731f,0.850651f,0.0f,-0.57735f,0.57735f,-0.57735f,
122  0.64143f,0.322949f,-0.525731f,0.850651f,0.0f,-0.57735f,0.57735f,0.57735f,
123  0.740536f,0.25f,-0.525731f,0.850651f,0.0f,0.f,0.934172f,0.356822f,
124  0.801787f,0.440983f,-0.525731f,0.850651f,0.0f,-0.57735f,0.57735f,-0.57735f,
125  0.740536f,0.25f,-0.525731f,0.850651f,0.0f,0.f,0.934172f,0.356822f,
126  0.839643f,0.322949f,-0.525731f,0.850651f,0.0f,0.f,0.934172f,-0.356822f,
127  0.801787f,0.440983f,-0.525731f,0.850651f,0.0f,-0.57735f,0.57735f,-0.57735f,
128  0.679285f,0.440983f,-0.850651f,0.0f,-0.525731f,-0.934172f,0.356822f,0.0f,
129  0.801787f,0.440983f,-0.850651f,0.0f,-0.525731f,-0.57735f,0.57735f,-0.57735f,
130  0.64143f,0.559017f,-0.850651f,0.0f,-0.525731f,-0.934172f,-0.356822f,0.0f,
131  0.801787f,0.440983f,-0.850651f,-0.f,-0.525731f,-0.57735f,0.57735f,-0.57735f,
132  0.839643f,0.559017f,-0.850651f,-0.f,-0.525731f,-0.356822f,0.0f,-0.934172f,
133  0.64143f,0.559017f,-0.850651f,-0.f,-0.525731f,-0.934172f,-0.356822f,0.0f,
134  0.839643f,0.559017f,-0.850651f,0.0f,-0.525731f,-0.356822f,0.0f,-0.934172f,
135  0.740536f,0.631966f,-0.850651f,0.0f,-0.525731f,-0.57735f,-0.57735f,-0.57735f,
136  0.64143f,0.559017f,-0.850651f,0.0f,-0.525731f,-0.934172f,-0.356822f,0.0f,
137 
138 }; //end of declaration
139 } // end ngl namespace
140 #endif
141 
142 
static float dodecahedron[dodecahedronSIZE]
Definition: Dodecahedron.h:27
implementation files for RibExport class
Definition: AABB.cpp:22
constexpr int dodecahedronSIZE
Definition: Dodecahedron.h:26