vrshoot
view libs/assimp/MD2NormalTable.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | |
children |
line source
1 /*
2 Open Asset Import Library (assimp)
3 ----------------------------------------------------------------------
5 Copyright (c) 2006-2012, assimp team
6 All rights reserved.
8 Redistribution and use of this software in source and binary forms,
9 with or without modification, are permitted provided that the
10 following conditions are met:
12 * Redistributions of source code must retain the above
13 copyright notice, this list of conditions and the
14 following disclaimer.
16 * Redistributions in binary form must reproduce the above
17 copyright notice, this list of conditions and the
18 following disclaimer in the documentation and/or other
19 materials provided with the distribution.
21 * Neither the name of the assimp team, nor the names of its
22 contributors may be used to endorse or promote products
23 derived from this software without specific prior
24 written permission of the assimp team.
26 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 ----------------------------------------------------------------------
39 */
41 /*
42 * @file Slightly modified version of the anorms.h header file
43 * released by ID software with the Quake 2 source code.
44 *
45 * Table of normals used by MD2 models
46 */
48 #ifndef AI_MDL_NORMALTABLE_H_INC
49 #define AI_MDL_NORMALTABLE_H_INC
52 float g_avNormals[162][3] = {
53 { -0.525731f, 0.000000f, 0.850651f },
54 { -0.442863f, 0.238856f, 0.864188f },
55 { -0.295242f, 0.000000f, 0.955423f },
56 { -0.309017f, 0.500000f, 0.809017f },
57 { -0.162460f, 0.262866f, 0.951056f },
58 { 0.000000f, 0.000000f, 1.000000f },
59 { 0.000000f, 0.850651f, 0.525731f },
60 { -0.147621f, 0.716567f, 0.681718f },
61 { 0.147621f, 0.716567f, 0.681718f },
62 { 0.000000f, 0.525731f, 0.850651f },
63 { 0.309017f, 0.500000f, 0.809017f },
64 { 0.525731f, 0.000000f, 0.850651f },
65 { 0.295242f, 0.000000f, 0.955423f },
66 { 0.442863f, 0.238856f, 0.864188f },
67 { 0.162460f, 0.262866f, 0.951056f },
68 { -0.681718f, 0.147621f, 0.716567f },
69 { -0.809017f, 0.309017f, 0.500000f },
70 { -0.587785f, 0.425325f, 0.688191f },
71 { -0.850651f, 0.525731f, 0.000000f },
72 { -0.864188f, 0.442863f, 0.238856f },
73 { -0.716567f, 0.681718f, 0.147621f },
74 { -0.688191f, 0.587785f, 0.425325f },
75 { -0.500000f, 0.809017f, 0.309017f },
76 { -0.238856f, 0.864188f, 0.442863f },
77 { -0.425325f, 0.688191f, 0.587785f },
78 { -0.716567f, 0.681718f, -0.147621f },
79 { -0.500000f, 0.809017f, -0.309017f },
80 { -0.525731f, 0.850651f, 0.000000f },
81 { 0.000000f, 0.850651f, -0.525731f },
82 { -0.238856f, 0.864188f, -0.442863f },
83 { 0.000000f, 0.955423f, -0.295242f },
84 { -0.262866f, 0.951056f, -0.162460f },
85 { 0.000000f, 1.000000f, 0.000000f },
86 { 0.000000f, 0.955423f, 0.295242f },
87 { -0.262866f, 0.951056f, 0.162460f },
88 { 0.238856f, 0.864188f, 0.442863f },
89 { 0.262866f, 0.951056f, 0.162460f },
90 { 0.500000f, 0.809017f, 0.309017f },
91 { 0.238856f, 0.864188f, -0.442863f },
92 { 0.262866f, 0.951056f, -0.162460f },
93 { 0.500000f, 0.809017f, -0.309017f },
94 { 0.850651f, 0.525731f, 0.000000f },
95 { 0.716567f, 0.681718f, 0.147621f },
96 { 0.716567f, 0.681718f, -0.147621f },
97 { 0.525731f, 0.850651f, 0.000000f },
98 { 0.425325f, 0.688191f, 0.587785f },
99 { 0.864188f, 0.442863f, 0.238856f },
100 { 0.688191f, 0.587785f, 0.425325f },
101 { 0.809017f, 0.309017f, 0.500000f },
102 { 0.681718f, 0.147621f, 0.716567f },
103 { 0.587785f, 0.425325f, 0.688191f },
104 { 0.955423f, 0.295242f, 0.000000f },
105 { 1.000000f, 0.000000f, 0.000000f },
106 { 0.951056f, 0.162460f, 0.262866f },
107 { 0.850651f, -0.525731f, 0.000000f },
108 { 0.955423f, -0.295242f, 0.000000f },
109 { 0.864188f, -0.442863f, 0.238856f },
110 { 0.951056f, -0.162460f, 0.262866f },
111 { 0.809017f, -0.309017f, 0.500000f },
112 { 0.681718f, -0.147621f, 0.716567f },
113 { 0.850651f, 0.000000f, 0.525731f },
114 { 0.864188f, 0.442863f, -0.238856f },
115 { 0.809017f, 0.309017f, -0.500000f },
116 { 0.951056f, 0.162460f, -0.262866f },
117 { 0.525731f, 0.000000f, -0.850651f },
118 { 0.681718f, 0.147621f, -0.716567f },
119 { 0.681718f, -0.147621f, -0.716567f },
120 { 0.850651f, 0.000000f, -0.525731f },
121 { 0.809017f, -0.309017f, -0.500000f },
122 { 0.864188f, -0.442863f, -0.238856f },
123 { 0.951056f, -0.162460f, -0.262866f },
124 { 0.147621f, 0.716567f, -0.681718f },
125 { 0.309017f, 0.500000f, -0.809017f },
126 { 0.425325f, 0.688191f, -0.587785f },
127 { 0.442863f, 0.238856f, -0.864188f },
128 { 0.587785f, 0.425325f, -0.688191f },
129 { 0.688191f, 0.587785f, -0.425325f },
130 { -0.147621f, 0.716567f, -0.681718f },
131 { -0.309017f, 0.500000f, -0.809017f },
132 { 0.000000f, 0.525731f, -0.850651f },
133 { -0.525731f, 0.000000f, -0.850651f },
134 { -0.442863f, 0.238856f, -0.864188f },
135 { -0.295242f, 0.000000f, -0.955423f },
136 { -0.162460f, 0.262866f, -0.951056f },
137 { 0.000000f, 0.000000f, -1.000000f },
138 { 0.295242f, 0.000000f, -0.955423f },
139 { 0.162460f, 0.262866f, -0.951056f },
140 { -0.442863f, -0.238856f, -0.864188f },
141 { -0.309017f, -0.500000f, -0.809017f },
142 { -0.162460f, -0.262866f, -0.951056f },
143 { 0.000000f, -0.850651f, -0.525731f },
144 { -0.147621f, -0.716567f, -0.681718f },
145 { 0.147621f, -0.716567f, -0.681718f },
146 { 0.000000f, -0.525731f, -0.850651f },
147 { 0.309017f, -0.500000f, -0.809017f },
148 { 0.442863f, -0.238856f, -0.864188f },
149 { 0.162460f, -0.262866f, -0.951056f },
150 { 0.238856f, -0.864188f, -0.442863f },
151 { 0.500000f, -0.809017f, -0.309017f },
152 { 0.425325f, -0.688191f, -0.587785f },
153 { 0.716567f, -0.681718f, -0.147621f },
154 { 0.688191f, -0.587785f, -0.425325f },
155 { 0.587785f, -0.425325f, -0.688191f },
156 { 0.000000f, -0.955423f, -0.295242f },
157 { 0.000000f, -1.000000f, 0.000000f },
158 { 0.262866f, -0.951056f, -0.162460f },
159 { 0.000000f, -0.850651f, 0.525731f },
160 { 0.000000f, -0.955423f, 0.295242f },
161 { 0.238856f, -0.864188f, 0.442863f },
162 { 0.262866f, -0.951056f, 0.162460f },
163 { 0.500000f, -0.809017f, 0.309017f },
164 { 0.716567f, -0.681718f, 0.147621f },
165 { 0.525731f, -0.850651f, 0.000000f },
166 { -0.238856f, -0.864188f, -0.442863f },
167 { -0.500000f, -0.809017f, -0.309017f },
168 { -0.262866f, -0.951056f, -0.162460f },
169 { -0.850651f, -0.525731f, 0.000000f },
170 { -0.716567f, -0.681718f, -0.147621f },
171 { -0.716567f, -0.681718f, 0.147621f },
172 { -0.525731f, -0.850651f, 0.000000f },
173 { -0.500000f, -0.809017f, 0.309017f },
174 { -0.238856f, -0.864188f, 0.442863f },
175 { -0.262866f, -0.951056f, 0.162460f },
176 { -0.864188f, -0.442863f, 0.238856f },
177 { -0.809017f, -0.309017f, 0.500000f },
178 { -0.688191f, -0.587785f, 0.425325f },
179 { -0.681718f, -0.147621f, 0.716567f },
180 { -0.442863f, -0.238856f, 0.864188f },
181 { -0.587785f, -0.425325f, 0.688191f },
182 { -0.309017f, -0.500000f, 0.809017f },
183 { -0.147621f, -0.716567f, 0.681718f },
184 { -0.425325f, -0.688191f, 0.587785f },
185 { -0.162460f, -0.262866f, 0.951056f },
186 { 0.442863f, -0.238856f, 0.864188f },
187 { 0.162460f, -0.262866f, 0.951056f },
188 { 0.309017f, -0.500000f, 0.809017f },
189 { 0.147621f, -0.716567f, 0.681718f },
190 { 0.000000f, -0.525731f, 0.850651f },
191 { 0.425325f, -0.688191f, 0.587785f },
192 { 0.587785f, -0.425325f, 0.688191f },
193 { 0.688191f, -0.587785f, 0.425325f },
194 { -0.955423f, 0.295242f, 0.000000f },
195 { -0.951056f, 0.162460f, 0.262866f },
196 { -1.000000f, 0.000000f, 0.000000f },
197 { -0.850651f, 0.000000f, 0.525731f },
198 { -0.955423f, -0.295242f, 0.000000f },
199 { -0.951056f, -0.162460f, 0.262866f },
200 { -0.864188f, 0.442863f, -0.238856f },
201 { -0.951056f, 0.162460f, -0.262866f },
202 { -0.809017f, 0.309017f, -0.500000f },
203 { -0.864188f, -0.442863f, -0.238856f },
204 { -0.951056f, -0.162460f, -0.262866f },
205 { -0.809017f, -0.309017f, -0.500000f },
206 { -0.681718f, 0.147621f, -0.716567f },
207 { -0.681718f, -0.147621f, -0.716567f },
208 { -0.850651f, 0.000000f, -0.525731f },
209 { -0.688191f, 0.587785f, -0.425325f },
210 { -0.587785f, 0.425325f, -0.688191f },
211 { -0.425325f, 0.688191f, -0.587785f },
212 { -0.425325f, -0.688191f, -0.587785f },
213 { -0.587785f, -0.425325f, -0.688191f },
214 { -0.688191f, -0.587785f, -0.425325f }
215 };
217 #endif // !! include guard