1 /**
2  * @file
3  * @brief Contains vertex normals lookup table.
4  */
5 
6 /*
7 All original material Copyright (C) 2002-2013 UFO: Alien Invasion.
8 
9 Original file from Quake 2 v3.21: quake2-2.31/client/anorms.h
10 
11 Copyright (C) 1997-2001 Id Software, Inc.
12 
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License
15 as published by the Free Software Foundation; either version 2
16 of the License, or (at your option) any later version.
17 
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 
22 See the GNU General Public License for more details.
23 
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
27 
28 */
29 
30 #pragma once
31 
32 {-0.525731, 0.000000, 0.850651},
33 {-0.442863, 0.238856, 0.864188},
34 {-0.295242, 0.000000, 0.955423},
35 {-0.309017, 0.500000, 0.809017},
36 {-0.162460, 0.262866, 0.951056},
37 {0.000000, 0.000000, 1.000000},
38 {0.000000, 0.850651, 0.525731},
39 {-0.147621, 0.716567, 0.681718},
40 {0.147621, 0.716567, 0.681718},
41 {0.000000, 0.525731, 0.850651},
42 {0.309017, 0.500000, 0.809017},
43 {0.525731, 0.000000, 0.850651},
44 {0.295242, 0.000000, 0.955423},
45 {0.442863, 0.238856, 0.864188},
46 {0.162460, 0.262866, 0.951056},
47 {-0.681718, 0.147621, 0.716567},
48 {-0.809017, 0.309017, 0.500000},
49 {-0.587785, 0.425325, 0.688191},
50 {-0.850651, 0.525731, 0.000000},
51 {-0.864188, 0.442863, 0.238856},
52 {-0.716567, 0.681718, 0.147621},
53 {-0.688191, 0.587785, 0.425325},
54 {-0.500000, 0.809017, 0.309017},
55 {-0.238856, 0.864188, 0.442863},
56 {-0.425325, 0.688191, 0.587785},
57 {-0.716567, 0.681718, -0.147621},
58 {-0.500000, 0.809017, -0.309017},
59 {-0.525731, 0.850651, 0.000000},
60 {0.000000, 0.850651, -0.525731},
61 {-0.238856, 0.864188, -0.442863},
62 {0.000000, 0.955423, -0.295242},
63 {-0.262866, 0.951056, -0.162460},
64 {0.000000, 1.000000, 0.000000},
65 {0.000000, 0.955423, 0.295242},
66 {-0.262866, 0.951056, 0.162460},
67 {0.238856, 0.864188, 0.442863},
68 {0.262866, 0.951056, 0.162460},
69 {0.500000, 0.809017, 0.309017},
70 {0.238856, 0.864188, -0.442863},
71 {0.262866, 0.951056, -0.162460},
72 {0.500000, 0.809017, -0.309017},
73 {0.850651, 0.525731, 0.000000},
74 {0.716567, 0.681718, 0.147621},
75 {0.716567, 0.681718, -0.147621},
76 {0.525731, 0.850651, 0.000000},
77 {0.425325, 0.688191, 0.587785},
78 {0.864188, 0.442863, 0.238856},
79 {0.688191, 0.587785, 0.425325},
80 {0.809017, 0.309017, 0.500000},
81 {0.681718, 0.147621, 0.716567},
82 {0.587785, 0.425325, 0.688191},
83 {0.955423, 0.295242, 0.000000},
84 {1.000000, 0.000000, 0.000000},
85 {0.951056, 0.162460, 0.262866},
86 {0.850651, -0.525731, 0.000000},
87 {0.955423, -0.295242, 0.000000},
88 {0.864188, -0.442863, 0.238856},
89 {0.951056, -0.162460, 0.262866},
90 {0.809017, -0.309017, 0.500000},
91 {0.681718, -0.147621, 0.716567},
92 {0.850651, 0.000000, 0.525731},
93 {0.864188, 0.442863, -0.238856},
94 {0.809017, 0.309017, -0.500000},
95 {0.951056, 0.162460, -0.262866},
96 {0.525731, 0.000000, -0.850651},
97 {0.681718, 0.147621, -0.716567},
98 {0.681718, -0.147621, -0.716567},
99 {0.850651, 0.000000, -0.525731},
100 {0.809017, -0.309017, -0.500000},
101 {0.864188, -0.442863, -0.238856},
102 {0.951056, -0.162460, -0.262866},
103 {0.147621, 0.716567, -0.681718},
104 {0.309017, 0.500000, -0.809017},
105 {0.425325, 0.688191, -0.587785},
106 {0.442863, 0.238856, -0.864188},
107 {0.587785, 0.425325, -0.688191},
108 {0.688191, 0.587785, -0.425325},
109 {-0.147621, 0.716567, -0.681718},
110 {-0.309017, 0.500000, -0.809017},
111 {0.000000, 0.525731, -0.850651},
112 {-0.525731, 0.000000, -0.850651},
113 {-0.442863, 0.238856, -0.864188},
114 {-0.295242, 0.000000, -0.955423},
115 {-0.162460, 0.262866, -0.951056},
116 {0.000000, 0.000000, -1.000000},
117 {0.295242, 0.000000, -0.955423},
118 {0.162460, 0.262866, -0.951056},
119 {-0.442863, -0.238856, -0.864188},
120 {-0.309017, -0.500000, -0.809017},
121 {-0.162460, -0.262866, -0.951056},
122 {0.000000, -0.850651, -0.525731},
123 {-0.147621, -0.716567, -0.681718},
124 {0.147621, -0.716567, -0.681718},
125 {0.000000, -0.525731, -0.850651},
126 {0.309017, -0.500000, -0.809017},
127 {0.442863, -0.238856, -0.864188},
128 {0.162460, -0.262866, -0.951056},
129 {0.238856, -0.864188, -0.442863},
130 {0.500000, -0.809017, -0.309017},
131 {0.425325, -0.688191, -0.587785},
132 {0.716567, -0.681718, -0.147621},
133 {0.688191, -0.587785, -0.425325},
134 {0.587785, -0.425325, -0.688191},
135 {0.000000, -0.955423, -0.295242},
136 {0.000000, -1.000000, 0.000000},
137 {0.262866, -0.951056, -0.162460},
138 {0.000000, -0.850651, 0.525731},
139 {0.000000, -0.955423, 0.295242},
140 {0.238856, -0.864188, 0.442863},
141 {0.262866, -0.951056, 0.162460},
142 {0.500000, -0.809017, 0.309017},
143 {0.716567, -0.681718, 0.147621},
144 {0.525731, -0.850651, 0.000000},
145 {-0.238856, -0.864188, -0.442863},
146 {-0.500000, -0.809017, -0.309017},
147 {-0.262866, -0.951056, -0.162460},
148 {-0.850651, -0.525731, 0.000000},
149 {-0.716567, -0.681718, -0.147621},
150 {-0.716567, -0.681718, 0.147621},
151 {-0.525731, -0.850651, 0.000000},
152 {-0.500000, -0.809017, 0.309017},
153 {-0.238856, -0.864188, 0.442863},
154 {-0.262866, -0.951056, 0.162460},
155 {-0.864188, -0.442863, 0.238856},
156 {-0.809017, -0.309017, 0.500000},
157 {-0.688191, -0.587785, 0.425325},
158 {-0.681718, -0.147621, 0.716567},
159 {-0.442863, -0.238856, 0.864188},
160 {-0.587785, -0.425325, 0.688191},
161 {-0.309017, -0.500000, 0.809017},
162 {-0.147621, -0.716567, 0.681718},
163 {-0.425325, -0.688191, 0.587785},
164 {-0.162460, -0.262866, 0.951056},
165 {0.442863, -0.238856, 0.864188},
166 {0.162460, -0.262866, 0.951056},
167 {0.309017, -0.500000, 0.809017},
168 {0.147621, -0.716567, 0.681718},
169 {0.000000, -0.525731, 0.850651},
170 {0.425325, -0.688191, 0.587785},
171 {0.587785, -0.425325, 0.688191},
172 {0.688191, -0.587785, 0.425325},
173 {-0.955423, 0.295242, 0.000000},
174 {-0.951056, 0.162460, 0.262866},
175 {-1.000000, 0.000000, 0.000000},
176 {-0.850651, 0.000000, 0.525731},
177 {-0.955423, -0.295242, 0.000000},
178 {-0.951056, -0.162460, 0.262866},
179 {-0.864188, 0.442863, -0.238856},
180 {-0.951056, 0.162460, -0.262866},
181 {-0.809017, 0.309017, -0.500000},
182 {-0.864188, -0.442863, -0.238856},
183 {-0.951056, -0.162460, -0.262866},
184 {-0.809017, -0.309017, -0.500000},
185 {-0.681718, 0.147621, -0.716567},
186 {-0.681718, -0.147621, -0.716567},
187 {-0.850651, 0.000000, -0.525731},
188 {-0.688191, 0.587785, -0.425325},
189 {-0.587785, 0.425325, -0.688191},
190 {-0.425325, 0.688191, -0.587785},
191 {-0.425325, -0.688191, -0.587785},
192 {-0.587785, -0.425325, -0.688191},
193 {-0.688191, -0.587785, -0.425325},
194