2 Copyright (C) 1999-2006 Id Software, Inc. and contributors.
3 For a list of contributors, see the accompanying CONTRIBUTORS file.
5 This file is part of GtkRadiant.
7 GtkRadiant is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 GtkRadiant is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GtkRadiant; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 typedef const float mdlNormal_t[3];
24 typedef const mdlNormal_t mdlNormals_t[162];
26 const mdlNormals_t g_mdl_normals = {
27 {-0.525731f, 0.000000f, 0.850651f,},
28 {-0.442863f, 0.238856f, 0.864188f,},
29 {-0.295242f, 0.000000f, 0.955423f,},
30 {-0.309017f, 0.500000f, 0.809017f,},
31 {-0.162460f, 0.262866f, 0.951056f,},
32 {0.000000f, 0.000000f, 1.000000f,},
33 {0.000000f, 0.850651f, 0.525731f,},
34 {-0.147621f, 0.716567f, 0.681718f,},
35 {0.147621f, 0.716567f, 0.681718f,},
36 {0.000000f, 0.525731f, 0.850651f,},
37 {0.309017f, 0.500000f, 0.809017f,},
38 {0.525731f, 0.000000f, 0.850651f,},
39 {0.295242f, 0.000000f, 0.955423f,},
40 {0.442863f, 0.238856f, 0.864188f,},
41 {0.162460f, 0.262866f, 0.951056f,},
42 {-0.681718f, 0.147621f, 0.716567f,},
43 {-0.809017f, 0.309017f, 0.500000f,},
44 {-0.587785f, 0.425325f, 0.688191f,},
45 {-0.850651f, 0.525731f, 0.000000f,},
46 {-0.864188f, 0.442863f, 0.238856f,},
47 {-0.716567f, 0.681718f, 0.147621f,},
48 {-0.688191f, 0.587785f, 0.425325f,},
49 {-0.500000f, 0.809017f, 0.309017f,},
50 {-0.238856f, 0.864188f, 0.442863f,},
51 {-0.425325f, 0.688191f, 0.587785f,},
52 {-0.716567f, 0.681718f, -0.147621f,},
53 {-0.500000f, 0.809017f, -0.309017f,},
54 {-0.525731f, 0.850651f, 0.000000f,},
55 {0.000000f, 0.850651f, -0.525731f,},
56 {-0.238856f, 0.864188f, -0.442863f,},
57 {0.000000f, 0.955423f, -0.295242f,},
58 {-0.262866f, 0.951056f, -0.162460f,},
59 {0.000000f, 1.000000f, 0.000000f,},
60 {0.000000f, 0.955423f, 0.295242f,},
61 {-0.262866f, 0.951056f, 0.162460f,},
62 {0.238856f, 0.864188f, 0.442863f,},
63 {0.262866f, 0.951056f, 0.162460f,},
64 {0.500000f, 0.809017f, 0.309017f,},
65 {0.238856f, 0.864188f, -0.442863f,},
66 {0.262866f, 0.951056f, -0.162460f,},
67 {0.500000f, 0.809017f, -0.309017f,},
68 {0.850651f, 0.525731f, 0.000000f,},
69 {0.716567f, 0.681718f, 0.147621f,},
70 {0.716567f, 0.681718f, -0.147621f,},
71 {0.525731f, 0.850651f, 0.000000f,},
72 {0.425325f, 0.688191f, 0.587785f,},
73 {0.864188f, 0.442863f, 0.238856f,},
74 {0.688191f, 0.587785f, 0.425325f,},
75 {0.809017f, 0.309017f, 0.500000f,},
76 {0.681718f, 0.147621f, 0.716567f,},
77 {0.587785f, 0.425325f, 0.688191f,},
78 {0.955423f, 0.295242f, 0.000000f,},
79 {1.000000f, 0.000000f, 0.000000f,},
80 {0.951056f, 0.162460f, 0.262866f,},
81 {0.850651f, -0.525731f, 0.000000f,},
82 {0.955423f, -0.295242f, 0.000000f,},
83 {0.864188f, -0.442863f, 0.238856f,},
84 {0.951056f, -0.162460f, 0.262866f,},
85 {0.809017f, -0.309017f, 0.500000f,},
86 {0.681718f, -0.147621f, 0.716567f,},
87 {0.850651f, 0.000000f, 0.525731f,},
88 {0.864188f, 0.442863f, -0.238856f,},
89 {0.809017f, 0.309017f, -0.500000f,},
90 {0.951056f, 0.162460f, -0.262866f,},
91 {0.525731f, 0.000000f, -0.850651f,},
92 {0.681718f, 0.147621f, -0.716567f,},
93 {0.681718f, -0.147621f, -0.716567f,},
94 {0.850651f, 0.000000f, -0.525731f,},
95 {0.809017f, -0.309017f, -0.500000f,},
96 {0.864188f, -0.442863f, -0.238856f,},
97 {0.951056f, -0.162460f, -0.262866f,},
98 {0.147621f, 0.716567f, -0.681718f,},
99 {0.309017f, 0.500000f, -0.809017f,},
100 {0.425325f, 0.688191f, -0.587785f,},
101 {0.442863f, 0.238856f, -0.864188f,},
102 {0.587785f, 0.425325f, -0.688191f,},
103 {0.688191f, 0.587785f, -0.425325f,},
104 {-0.147621f, 0.716567f, -0.681718f,},
105 {-0.309017f, 0.500000f, -0.809017f,},
106 {0.000000f, 0.525731f, -0.850651f,},
107 {-0.525731f, 0.000000f, -0.850651f,},
108 {-0.442863f, 0.238856f, -0.864188f,},
109 {-0.295242f, 0.000000f, -0.955423f,},
110 {-0.162460f, 0.262866f, -0.951056f,},
111 {0.000000f, 0.000000f, -1.000000f,},
112 {0.295242f, 0.000000f, -0.955423f,},
113 {0.162460f, 0.262866f, -0.951056f,},
114 {-0.442863f, -0.238856f, -0.864188f,},
115 {-0.309017f, -0.500000f, -0.809017f,},
116 {-0.162460f, -0.262866f, -0.951056f,},
117 {0.000000f, -0.850651f, -0.525731f,},
118 {-0.147621f, -0.716567f, -0.681718f,},
119 {0.147621f, -0.716567f, -0.681718f,},
120 {0.000000f, -0.525731f, -0.850651f,},
121 {0.309017f, -0.500000f, -0.809017f,},
122 {0.442863f, -0.238856f, -0.864188f,},
123 {0.162460f, -0.262866f, -0.951056f,},
124 {0.238856f, -0.864188f, -0.442863f,},
125 {0.500000f, -0.809017f, -0.309017f,},
126 {0.425325f, -0.688191f, -0.587785f,},
127 {0.716567f, -0.681718f, -0.147621f,},
128 {0.688191f, -0.587785f, -0.425325f,},
129 {0.587785f, -0.425325f, -0.688191f,},
130 {0.000000f, -0.955423f, -0.295242f,},
131 {0.000000f, -1.000000f, 0.000000f,},
132 {0.262866f, -0.951056f, -0.162460f,},
133 {0.000000f, -0.850651f, 0.525731f,},
134 {0.000000f, -0.955423f, 0.295242f,},
135 {0.238856f, -0.864188f, 0.442863f,},
136 {0.262866f, -0.951056f, 0.162460f,},
137 {0.500000f, -0.809017f, 0.309017f,},
138 {0.716567f, -0.681718f, 0.147621f,},
139 {0.525731f, -0.850651f, 0.000000f,},
140 {-0.238856f, -0.864188f, -0.442863f,},
141 {-0.500000f, -0.809017f, -0.309017f,},
142 {-0.262866f, -0.951056f, -0.162460f,},
143 {-0.850651f, -0.525731f, 0.000000f,},
144 {-0.716567f, -0.681718f, -0.147621f,},
145 {-0.716567f, -0.681718f, 0.147621f,},
146 {-0.525731f, -0.850651f, 0.000000f,},
147 {-0.500000f, -0.809017f, 0.309017f,},
148 {-0.238856f, -0.864188f, 0.442863f,},
149 {-0.262866f, -0.951056f, 0.162460f,},
150 {-0.864188f, -0.442863f, 0.238856f,},
151 {-0.809017f, -0.309017f, 0.500000f,},
152 {-0.688191f, -0.587785f, 0.425325f,},
153 {-0.681718f, -0.147621f, 0.716567f,},
154 {-0.442863f, -0.238856f, 0.864188f,},
155 {-0.587785f, -0.425325f, 0.688191f,},
156 {-0.309017f, -0.500000f, 0.809017f,},
157 {-0.147621f, -0.716567f, 0.681718f,},
158 {-0.425325f, -0.688191f, 0.587785f,},
159 {-0.162460f, -0.262866f, 0.951056f,},
160 {0.442863f, -0.238856f, 0.864188f,},
161 {0.162460f, -0.262866f, 0.951056f,},
162 {0.309017f, -0.500000f, 0.809017f,},
163 {0.147621f, -0.716567f, 0.681718f,},
164 {0.000000f, -0.525731f, 0.850651f,},
165 {0.425325f, -0.688191f, 0.587785f,},
166 {0.587785f, -0.425325f, 0.688191f,},
167 {0.688191f, -0.587785f, 0.425325f,},
168 {-0.955423f, 0.295242f, 0.000000f,},
169 {-0.951056f, 0.162460f, 0.262866f,},
170 {-1.000000f, 0.000000f, 0.000000f,},
171 {-0.850651f, 0.000000f, 0.525731f,},
172 {-0.955423f, -0.295242f, 0.000000f,},
173 {-0.951056f, -0.162460f, 0.262866f,},
174 {-0.864188f, 0.442863f, -0.238856f,},
175 {-0.951056f, 0.162460f, -0.262866f,},
176 {-0.809017f, 0.309017f, -0.500000f,},
177 {-0.864188f, -0.442863f, -0.238856f,},
178 {-0.951056f, -0.162460f, -0.262866f,},
179 {-0.809017f, -0.309017f, -0.500000f,},
180 {-0.681718f, 0.147621f, -0.716567f,},
181 {-0.681718f, -0.147621f, -0.716567f,},
182 {-0.850651f, 0.000000f, -0.525731f,},
183 {-0.688191f, 0.587785f, -0.425325f,},
184 {-0.587785f, 0.425325f, -0.688191f,},
185 {-0.425325f, 0.688191f, -0.587785f,},
186 {-0.425325f, -0.688191f, -0.587785f,},
187 {-0.587785f, -0.425325f, -0.688191f,},
188 {-0.688191f, -0.587785f, -0.425325f,},