NGL  6.5
The NCCA Graphics Library
Cube.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 Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
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 not, see <http://www.gnu.org/licenses/>.
16 */
17 // VBO File in the format tx,ty,nx,ny,nz,vx,vy,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 cube stored in GL_T2_N3_V3 format
23 #ifndef CUBE_H_
24 #define CUBE_H_
25 namespace ngl
26 {
27 constexpr int cubeSIZE=288;
28 
29 static const float cube[cubeSIZE]={
30 0.37500f,0.00000f,0.00000f,0.00000f,1.00000f,-0.50000f,-0.50000f,0.50000f,
31 0.62500f,0.00000f,0.00000f,0.00000f,1.00000f,0.50000f,-0.50000f,0.50000f,
32 0.37500f,0.25000f,0.00000f,0.00000f,1.00000f,-0.50000f,0.50000f,0.50000f,
33 0.37500f,0.25000f,0.00000f,0.00000f,1.00000f,-0.50000f,0.50000f,0.50000f,
34 0.62500f,0.00000f,0.00000f,0.00000f,1.00000f,0.50000f,-0.50000f,0.50000f,
35 0.62500f,0.25000f,0.00000f,0.00000f,1.00000f,0.50000f,0.50000f,0.50000f,
36 0.37500f,0.25000f,0.00000f,1.00000f,0.00000f,-0.50000f,0.50000f,0.50000f,
37 0.62500f,0.25000f,0.00000f,1.00000f,0.00000f,0.50000f,0.50000f,0.50000f,
38 0.37500f,0.50000f,0.00000f,1.00000f,0.00000f,-0.50000f,0.50000f,-0.50000f,
39 0.37500f,0.50000f,0.00000f,1.00000f,0.00000f,-0.50000f,0.50000f,-0.50000f,
40 0.62500f,0.25000f,0.00000f,1.00000f,0.00000f,0.50000f,0.50000f,0.50000f,
41 0.62500f,0.50000f,0.00000f,1.00000f,0.00000f,0.50000f,0.50000f,-0.50000f,
42 0.37500f,0.50000f,0.00000f,0.00000f,-1.00000f,-0.50000f,0.50000f,-0.50000f,
43 0.62500f,0.50000f,0.00000f,0.00000f,-1.00000f,0.50000f,0.50000f,-0.50000f,
44 0.37500f,0.75000f,0.00000f,0.00000f,-1.00000f,-0.50000f,-0.50000f,-0.50000f,
45 0.37500f,0.75000f,0.00000f,0.00000f,-1.00000f,-0.50000f,-0.50000f,-0.50000f,
46 0.62500f,0.50000f,0.00000f,0.00000f,-1.00000f,0.50000f,0.50000f,-0.50000f,
47 0.62500f,0.75000f,0.00000f,0.00000f,-1.00000f,0.50000f,-0.50000f,-0.50000f,
48 0.37500f,0.75000f,0.00000f,-1.00000f,0.00000f,-0.50000f,-0.50000f,-0.50000f,
49 0.62500f,0.75000f,0.00000f,-1.00000f,0.00000f,0.50000f,-0.50000f,-0.50000f,
50 0.37500f,1.00000f,0.00000f,-1.00000f,0.00000f,-0.50000f,-0.50000f,0.50000f,
51 0.37500f,1.00000f,0.00000f,-1.00000f,0.00000f,-0.50000f,-0.50000f,0.50000f,
52 0.62500f,0.75000f,0.00000f,-1.00000f,0.00000f,0.50000f,-0.50000f,-0.50000f,
53 0.62500f,1.00000f,0.00000f,-1.00000f,0.00000f,0.50000f,-0.50000f,0.50000f,
54 0.62500f,0.00000f,1.00000f,0.00000f,0.00000f,0.50000f,-0.50000f,0.50000f,
55 0.87500f,0.00000f,1.00000f,0.00000f,0.00000f,0.50000f,-0.50000f,-0.50000f,
56 0.62500f,0.25000f,1.00000f,0.00000f,0.00000f,0.50000f,0.50000f,0.50000f,
57 0.62500f,0.25000f,1.00000f,0.00000f,0.00000f,0.50000f,0.50000f,0.50000f,
58 0.87500f,0.00000f,1.00000f,0.00000f,0.00000f,0.50000f,-0.50000f,-0.50000f,
59 0.87500f,0.25000f,1.00000f,0.00000f,0.00000f,0.50000f,0.50000f,-0.50000f,
60 0.12500f,0.00000f,-1.00000f,0.00000f,0.00000f,-0.50000f,-0.50000f,-0.50000f,
61 0.37500f,0.00000f,-1.00000f,0.00000f,0.00000f,-0.50000f,-0.50000f,0.50000f,
62 0.12500f,0.25000f,-1.00000f,0.00000f,0.00000f,-0.50000f,0.50000f,-0.50000f,
63 0.12500f,0.25000f,-1.00000f,0.00000f,0.00000f,-0.50000f,0.50000f,-0.50000f,
64 0.37500f,0.00000f,-1.00000f,0.00000f,0.00000f,-0.50000f,-0.50000f,0.50000f,
65 0.37500f,0.25000f,-1.00000f,0.00000f,0.00000f,-0.50000f,0.50000f,0.50000f
66 }; //end of declaration
67 } // end namespace ngl
68 #endif
69 
70 
static const float cube[cubeSIZE]
Definition: Cube.h:29
implementation files for RibExport class
Definition: AABB.cpp:22
constexpr int cubeSIZE
Definition: Cube.h:27