diff options
author | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
commit | cb3716ffb584fe0f593b6f1669a8efdba1305104 (patch) | |
tree | 5d1ebc4b6fc17b30f4b34e7e64a2d9514893459b /src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h | |
parent | Add Prosody build script. (diff) | |
download | SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.zip SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.gz SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.bz2 SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.xz |
Added my version of libg3d and friends.
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h new file mode 100644 index 0000000..e815d2f --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_md2/imp_md2_normals.h | |||
@@ -0,0 +1,192 @@ | |||
1 | /* $Id$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | #ifndef __G3D_IMP_MD2_NORMALS_H__ | ||
24 | #define __G3D_IMP_MD2_NORMALS_H__ | ||
25 | |||
26 | #include <glib.h> | ||
27 | |||
28 | static G3DFloat md2_normals[] = { | ||
29 | -0.525731f, 0.000000f, 0.850651f, | ||
30 | -0.442863f, 0.238856f, 0.864188f, | ||
31 | -0.295242f, 0.000000f, 0.955423f, | ||
32 | -0.309017f, 0.500000f, 0.809017f, | ||
33 | -0.162460f, 0.262866f, 0.951056f, | ||
34 | 0.000000f, 0.000000f, 1.000000f, | ||
35 | 0.000000f, 0.850651f, 0.525731f, | ||
36 | -0.147621f, 0.716567f, 0.681718f, | ||
37 | 0.147621f, 0.716567f, 0.681718f, | ||
38 | 0.000000f, 0.525731f, 0.850651f, | ||
39 | 0.309017f, 0.500000f, 0.809017f, | ||
40 | 0.525731f, 0.000000f, 0.850651f, | ||
41 | 0.295242f, 0.000000f, 0.955423f, | ||
42 | 0.442863f, 0.238856f, 0.864188f, | ||
43 | 0.162460f, 0.262866f, 0.951056f, | ||
44 | -0.681718f, 0.147621f, 0.716567f, | ||
45 | -0.809017f, 0.309017f, 0.500000f, | ||
46 | -0.587785f, 0.425325f, 0.688191f, | ||
47 | -0.850651f, 0.525731f, 0.000000f, | ||
48 | -0.864188f, 0.442863f, 0.238856f, | ||
49 | -0.716567f, 0.681718f, 0.147621f, | ||
50 | -0.688191f, 0.587785f, 0.425325f, | ||
51 | -0.500000f, 0.809017f, 0.309017f, | ||
52 | -0.238856f, 0.864188f, 0.442863f, | ||
53 | -0.425325f, 0.688191f, 0.587785f, | ||
54 | -0.716567f, 0.681718f, -0.147621f, | ||
55 | -0.500000f, 0.809017f, -0.309017f, | ||
56 | -0.525731f, 0.850651f, 0.000000f, | ||
57 | 0.000000f, 0.850651f, -0.525731f, | ||
58 | -0.238856f, 0.864188f, -0.442863f, | ||
59 | 0.000000f, 0.955423f, -0.295242f, | ||
60 | -0.262866f, 0.951056f, -0.162460f, | ||
61 | 0.000000f, 1.000000f, 0.000000f, | ||
62 | 0.000000f, 0.955423f, 0.295242f, | ||
63 | -0.262866f, 0.951056f, 0.162460f, | ||
64 | 0.238856f, 0.864188f, 0.442863f, | ||
65 | 0.262866f, 0.951056f, 0.162460f, | ||
66 | 0.500000f, 0.809017f, 0.309017f, | ||
67 | 0.238856f, 0.864188f, -0.442863f, | ||
68 | 0.262866f, 0.951056f, -0.162460f, | ||
69 | 0.500000f, 0.809017f, -0.309017f, | ||
70 | 0.850651f, 0.525731f, 0.000000f, | ||
71 | 0.716567f, 0.681718f, 0.147621f, | ||
72 | 0.716567f, 0.681718f, -0.147621f, | ||
73 | 0.525731f, 0.850651f, 0.000000f, | ||
74 | 0.425325f, 0.688191f, 0.587785f, | ||
75 | 0.864188f, 0.442863f, 0.238856f, | ||
76 | 0.688191f, 0.587785f, 0.425325f, | ||
77 | 0.809017f, 0.309017f, 0.500000f, | ||
78 | 0.681718f, 0.147621f, 0.716567f, | ||
79 | 0.587785f, 0.425325f, 0.688191f, | ||
80 | 0.955423f, 0.295242f, 0.000000f, | ||
81 | 1.000000f, 0.000000f, 0.000000f, | ||
82 | 0.951056f, 0.162460f, 0.262866f, | ||
83 | 0.850651f, -0.525731f, 0.000000f, | ||
84 | 0.955423f, -0.295242f, 0.000000f, | ||
85 | 0.864188f, -0.442863f, 0.238856f, | ||
86 | 0.951056f, -0.162460f, 0.262866f, | ||
87 | 0.809017f, -0.309017f, 0.500000f, | ||
88 | 0.681718f, -0.147621f, 0.716567f, | ||
89 | 0.850651f, 0.000000f, 0.525731f, | ||
90 | 0.864188f, 0.442863f, -0.238856f, | ||
91 | 0.809017f, 0.309017f, -0.500000f, | ||
92 | 0.951056f, 0.162460f, -0.262866f, | ||
93 | 0.525731f, 0.000000f, -0.850651f, | ||
94 | 0.681718f, 0.147621f, -0.716567f, | ||
95 | 0.681718f, -0.147621f, -0.716567f, | ||
96 | 0.850651f, 0.000000f, -0.525731f, | ||
97 | 0.809017f, -0.309017f, -0.500000f, | ||
98 | 0.864188f, -0.442863f, -0.238856f, | ||
99 | 0.951056f, -0.162460f, -0.262866f, | ||
100 | 0.147621f, 0.716567f, -0.681718f, | ||
101 | 0.309017f, 0.500000f, -0.809017f, | ||
102 | 0.425325f, 0.688191f, -0.587785f, | ||
103 | 0.442863f, 0.238856f, -0.864188f, | ||
104 | 0.587785f, 0.425325f, -0.688191f, | ||
105 | 0.688191f, 0.587785f, -0.425325f, | ||
106 | -0.147621f, 0.716567f, -0.681718f, | ||
107 | -0.309017f, 0.500000f, -0.809017f, | ||
108 | 0.000000f, 0.525731f, -0.850651f, | ||
109 | -0.525731f, 0.000000f, -0.850651f, | ||
110 | -0.442863f, 0.238856f, -0.864188f, | ||
111 | -0.295242f, 0.000000f, -0.955423f, | ||
112 | -0.162460f, 0.262866f, -0.951056f, | ||
113 | 0.000000f, 0.000000f, -1.000000f, | ||
114 | 0.295242f, 0.000000f, -0.955423f, | ||
115 | 0.162460f, 0.262866f, -0.951056f, | ||
116 | -0.442863f, -0.238856f, -0.864188f, | ||
117 | -0.309017f, -0.500000f, -0.809017f, | ||
118 | -0.162460f, -0.262866f, -0.951056f, | ||
119 | 0.000000f, -0.850651f, -0.525731f, | ||
120 | -0.147621f, -0.716567f, -0.681718f, | ||
121 | 0.147621f, -0.716567f, -0.681718f, | ||
122 | 0.000000f, -0.525731f, -0.850651f, | ||
123 | 0.309017f, -0.500000f, -0.809017f, | ||
124 | 0.442863f, -0.238856f, -0.864188f, | ||
125 | 0.162460f, -0.262866f, -0.951056f, | ||
126 | 0.238856f, -0.864188f, -0.442863f, | ||
127 | 0.500000f, -0.809017f, -0.309017f, | ||
128 | 0.425325f, -0.688191f, -0.587785f, | ||
129 | 0.716567f, -0.681718f, -0.147621f, | ||
130 | 0.688191f, -0.587785f, -0.425325f, | ||
131 | 0.587785f, -0.425325f, -0.688191f, | ||
132 | 0.000000f, -0.955423f, -0.295242f, | ||
133 | 0.000000f, -1.000000f, 0.000000f, | ||
134 | 0.262866f, -0.951056f, -0.162460f, | ||
135 | 0.000000f, -0.850651f, 0.525731f, | ||
136 | 0.000000f, -0.955423f, 0.295242f, | ||
137 | 0.238856f, -0.864188f, 0.442863f, | ||
138 | 0.262866f, -0.951056f, 0.162460f, | ||
139 | 0.500000f, -0.809017f, 0.309017f, | ||
140 | 0.716567f, -0.681718f, 0.147621f, | ||
141 | 0.525731f, -0.850651f, 0.000000f, | ||
142 | -0.238856f, -0.864188f, -0.442863f, | ||
143 | -0.500000f, -0.809017f, -0.309017f, | ||
144 | -0.262866f, -0.951056f, -0.162460f, | ||
145 | -0.850651f, -0.525731f, 0.000000f, | ||
146 | -0.716567f, -0.681718f, -0.147621f, | ||
147 | -0.716567f, -0.681718f, 0.147621f, | ||
148 | -0.525731f, -0.850651f, 0.000000f, | ||
149 | -0.500000f, -0.809017f, 0.309017f, | ||
150 | -0.238856f, -0.864188f, 0.442863f, | ||
151 | -0.262866f, -0.951056f, 0.162460f, | ||
152 | -0.864188f, -0.442863f, 0.238856f, | ||
153 | -0.809017f, -0.309017f, 0.500000f, | ||
154 | -0.688191f, -0.587785f, 0.425325f, | ||
155 | -0.681718f, -0.147621f, 0.716567f, | ||
156 | -0.442863f, -0.238856f, 0.864188f, | ||
157 | -0.587785f, -0.425325f, 0.688191f, | ||
158 | -0.309017f, -0.500000f, 0.809017f, | ||
159 | -0.147621f, -0.716567f, 0.681718f, | ||
160 | -0.425325f, -0.688191f, 0.587785f, | ||
161 | -0.162460f, -0.262866f, 0.951056f, | ||
162 | 0.442863f, -0.238856f, 0.864188f, | ||
163 | 0.162460f, -0.262866f, 0.951056f, | ||
164 | 0.309017f, -0.500000f, 0.809017f, | ||
165 | 0.147621f, -0.716567f, 0.681718f, | ||
166 | 0.000000f, -0.525731f, 0.850651f, | ||
167 | 0.425325f, -0.688191f, 0.587785f, | ||
168 | 0.587785f, -0.425325f, 0.688191f, | ||
169 | 0.688191f, -0.587785f, 0.425325f, | ||
170 | -0.955423f, 0.295242f, 0.000000f, | ||
171 | -0.951056f, 0.162460f, 0.262866f, | ||
172 | -1.000000f, 0.000000f, 0.000000f, | ||
173 | -0.850651f, 0.000000f, 0.525731f, | ||
174 | -0.955423f, -0.295242f, 0.000000f, | ||
175 | -0.951056f, -0.162460f, 0.262866f, | ||
176 | -0.864188f, 0.442863f, -0.238856f, | ||
177 | -0.951056f, 0.162460f, -0.262866f, | ||
178 | -0.809017f, 0.309017f, -0.500000f, | ||
179 | -0.864188f, -0.442863f, -0.238856f, | ||
180 | -0.951056f, -0.162460f, -0.262866f, | ||
181 | -0.809017f, -0.309017f, -0.500000f, | ||
182 | -0.681718f, 0.147621f, -0.716567f, | ||
183 | -0.681718f, -0.147621f, -0.716567f, | ||
184 | -0.850651f, 0.000000f, -0.525731f, | ||
185 | -0.688191f, 0.587785f, -0.425325f, | ||
186 | -0.587785f, 0.425325f, -0.688191f, | ||
187 | -0.425325f, 0.688191f, -0.587785f, | ||
188 | -0.425325f, -0.688191f, -0.587785f, | ||
189 | -0.587785f, -0.425325f, -0.688191f, | ||
190 | -0.688191f, -0.587785f, -0.425325f }; | ||
191 | |||
192 | #endif /* __G3D_IMP_MD2_NORMALS_H__ */ | ||