NGL  6.5
The NCCA Graphics Library
Octahedron.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 Octahedron stored in GL_T2_N3_V3 format
23 #ifndef OCTAHEDRON_H_
24 #define OCTAHEDRON_H_
25 namespace ngl
26 {
27 static const int OctahedronSIZE=192;
28 static float Octahedron[OctahedronSIZE]={
29  //vn 0.577350 0.577350 -0.577350
30 
31  0.285714f,0.625f,0.577350f,0.577350f, -0.577350f,1.0f,0.0f,0.f,
32  0.142857f,0.375f,0.577350f,0.577350f, -0.577350f,0.0f,0.f,-1.f,
33  0.428571f,0.375f,0.577350f,0.577350f, -0.577350f,0.0f,1.0f,0.0f,
34  //vn -0.577350f, 0.577350f, -0.577350
35 
36  0.571429f,0.125f,-0.577350f, 0.577350f, -0.577350f,0.0f,0.f,-1.f,
37  0.714286f,0.375f,-0.577350f, 0.577350f, -0.577350f,-1.0f,0.0f,0.f,
38  0.428571f,0.375f,-0.577350f, 0.577350f, -0.577350f,0.0f,1.0f,0.0f,
39  //vn -0.577350 0.577350 0.577350
40 
41  0.714286f,0.375f,-0.577350f, 0.577350f, 0.577350f,-1.f,0.0f,0.f,
42  0.571429f,0.625f,-0.577350f, 0.577350f, 0.577350f,0.0f,-0.f,1.0f,
43  0.428571f,0.375f,-0.577350f, 0.577350f, 0.577350f,0.0f,1.0f,0.0f,
44  //vn 0.577350 0.577350 0.577350
45 
46  0.428571f,0.375f,0.577350f, 0.577350f, 0.577350f,0.0f,1.0f,0.0f,
47  0.571429f,0.625f,0.577350f, 0.577350f, 0.577350f,0.0f,-0.f,1.0f,
48  0.285714f,0.625f,0.577350f, 0.577350f, 0.577350f,1.0f,0.0f,0.f,
49  //vn 0.577350 -0.577350 -0.577350
50 
51  0.f,0.625f,0.577350f, -0.577350f, -0.577350f,0.0f,-1.f,-0.f,
52  0.142857f,0.577350f, -0.577350f, -0.577350f,-1.f,0.0f,0.f,-1.f,
53  0.285714f,0.577350f, -0.577350f, -0.577350f,0.0f,1.0f,0.0f,0.f,
54 
55  //vn -0.577350 -0.577350 -0.577350
56  0.857143f,0.625f,-0.577350f, -0.577350f, -0.577350f,0.0f,-1.f,-0.f,
57  0.714286f,0.375f,-0.577350f, -0.577350f, -0.577350f,-1.f,0.0f,0.f,
58  1.f,0.375f,-0.577350f, -0.577350f, -0.577350f,0.0f,0.f,-1.f,
59  //vn -0.577350f, -0.577350f, 0.577350
60 
61  0.857143f,0.625f,-0.577350f, -0.577350f, 0.577350f,0.0f,-1.f,-0.f,
62  0.571429f,0.625f,-0.577350f, -0.577350f, 0.577350f,0.0f,-0.f,1.0f,
63  0.714286f,0.375f,-0.577350f, -0.577350f, 0.577350f,-1.f,0.0f,0.f,
64  //vn 0.577350f, -0.577350f, 0.577350
65 
66  0.428571f,0.875f,0.577350f, -0.577350f, 0.577350f,0.0f,-1.f,-0.f,
67  0.285714f,0.625f,0.577350f, -0.577350f, 0.577350f,1.0f,0.0f,0.f,
68  0.571429f,0.625f,0.577350f, -0.577350f, 0.577350f,0.0f,-0.f,1.0f,
69 
70 
71 }; //end of declaration
72 } // end ngl namespace
73 #endif
74 
75 
76 
77 
78 
79 
80 
81 
82 
static float Octahedron[OctahedronSIZE]
Definition: Octahedron.h:28
implementation files for RibExport class
Definition: AABB.cpp:22
static const int OctahedronSIZE
Definition: Octahedron.h:27