-
Notifications
You must be signed in to change notification settings - Fork 0
/
anorm.h
169 lines (168 loc) · 7.21 KB
/
anorm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
#ifndef ANORM_H
#define ANORM_H
VECTOR ANORMS[]=
{
POStoFIXED(0, -1, 0),
POStoFIXED(0.723608, -0.447221, 0.525724),
POStoFIXED(-0.276387, -0.447221, 0.850649),
POStoFIXED(-0.894427, -0.447214, 0),
POStoFIXED(-0.276387, -0.447221, -0.850649),
POStoFIXED(0.723608, -0.447221, -0.525724),
POStoFIXED(0.276387, 0.447221, 0.850649),
POStoFIXED(-0.723608, 0.447221, 0.525724),
POStoFIXED(-0.723608, 0.447221, -0.525724),
POStoFIXED(0.276387, 0.447221, -0.850649),
POStoFIXED(0.894427, 0.447214, 0),
POStoFIXED(0, 1, 0),
POStoFIXED(-0.23282, -0.657519, 0.716564),
POStoFIXED(-0.162454, -0.850655, 0.499995),
POStoFIXED(-0.0776063, -0.96795, 0.23885),
POStoFIXED(0.203179, -0.96795, 0.147618),
POStoFIXED(0.425322, -0.850655, 0.309011),
POStoFIXED(0.609548, -0.657518, 0.442857),
POStoFIXED(0.531942, -0.502302, 0.681711),
POStoFIXED(0.262868, -0.525739, 0.809011),
POStoFIXED(-0.0296365, -0.502302, 0.864184),
POStoFIXED(0.81273, -0.502301, -0.295235),
POStoFIXED(0.850649, -0.525735, 0),
POStoFIXED(0.81273, -0.502301, 0.295235),
POStoFIXED(0.203179, -0.96795, -0.147618),
POStoFIXED(0.425322, -0.850655, -0.309011),
POStoFIXED(0.609548, -0.657518, -0.442857),
POStoFIXED(-0.753442, -0.657514, 0),
POStoFIXED(-0.525728, -0.850653, 0),
POStoFIXED(-0.251145, -0.96795, 0),
POStoFIXED(-0.483971, -0.502301, 0.716565),
POStoFIXED(-0.688189, -0.525736, 0.499998),
POStoFIXED(-0.831052, -0.502297, 0.23885),
POStoFIXED(-0.23282, -0.657519, -0.716564),
POStoFIXED(-0.162454, -0.850655, -0.499995),
POStoFIXED(-0.0776063, -0.96795, -0.23885),
POStoFIXED(-0.831052, -0.502297, -0.23885),
POStoFIXED(-0.688189, -0.525736, -0.499998),
POStoFIXED(-0.483971, -0.502301, -0.716565),
POStoFIXED(-0.0296365, -0.502302, -0.864184),
POStoFIXED(0.262868, -0.525739, -0.809011),
POStoFIXED(0.531942, -0.502302, -0.681711),
POStoFIXED(0.956626, 0.251149, 0.147618),
POStoFIXED(0.951059, 0, 0.30901),
POStoFIXED(0.860698, -0.251149, 0.442858),
POStoFIXED(0.860698, -0.251149, -0.442858),
POStoFIXED(0.951059, 0, -0.30901),
POStoFIXED(0.956626, 0.251149, -0.147618),
POStoFIXED(0.155213, 0.251149, 0.955423),
POStoFIXED(0, 0, 1),
POStoFIXED(-0.155213, -0.251149, 0.955423),
POStoFIXED(0.687159, -0.251149, 0.681716),
POStoFIXED(0.587786, 0, 0.809016),
POStoFIXED(0.436006, 0.251149, 0.864189),
POStoFIXED(-0.860698, 0.251149, 0.442858),
POStoFIXED(-0.951059, 0, 0.30901),
POStoFIXED(-0.956626, -0.251149, 0.147618),
POStoFIXED(-0.436006, -0.251149, 0.864189),
POStoFIXED(-0.587786, 0, 0.809016),
POStoFIXED(-0.687159, 0.251149, 0.681716),
POStoFIXED(-0.687159, 0.251149, -0.681716),
POStoFIXED(-0.587786, 0, -0.809016),
POStoFIXED(-0.436006, -0.251149, -0.864189),
POStoFIXED(-0.956626, -0.251149, -0.147618),
POStoFIXED(-0.951059, 0, -0.30901),
POStoFIXED(-0.860698, 0.251149, -0.442858),
POStoFIXED(0.436006, 0.251149, -0.864189),
POStoFIXED(0.587786, 0, -0.809016),
POStoFIXED(0.687159, -0.251149, -0.681716),
POStoFIXED(-0.155213, -0.251149, -0.955423),
POStoFIXED(0, 0, -1),
POStoFIXED(0.155213, 0.251149, -0.955423),
POStoFIXED(0.831052, 0.502297, 0.23885),
POStoFIXED(0.688189, 0.525736, 0.499998),
POStoFIXED(0.483971, 0.502301, 0.716565),
POStoFIXED(0.0296365, 0.502302, 0.864184),
POStoFIXED(-0.262868, 0.525739, 0.809011),
POStoFIXED(-0.531942, 0.502302, 0.681711),
POStoFIXED(-0.81273, 0.502301, 0.295235),
POStoFIXED(-0.850649, 0.525735, 0),
POStoFIXED(-0.81273, 0.502301, -0.295235),
POStoFIXED(-0.531942, 0.502302, -0.681711),
POStoFIXED(-0.262868, 0.525739, -0.809011),
POStoFIXED(0.0296365, 0.502302, -0.864184),
POStoFIXED(0.483971, 0.502301, -0.716565),
POStoFIXED(0.688189, 0.525736, -0.499998),
POStoFIXED(0.831052, 0.502297, -0.23885),
POStoFIXED(0.0776063, 0.96795, 0.23885),
POStoFIXED(0.162454, 0.850655, 0.499995),
POStoFIXED(0.23282, 0.657519, 0.716564),
POStoFIXED(0.753442, 0.657514, 0),
POStoFIXED(0.525728, 0.850653, 0),
POStoFIXED(0.251145, 0.96795, 0),
POStoFIXED(-0.203179, 0.96795, 0.147618),
POStoFIXED(-0.425322, 0.850655, 0.309011),
POStoFIXED(-0.609548, 0.657518, 0.442857),
POStoFIXED(-0.203179, 0.96795, -0.147618),
POStoFIXED(-0.425322, 0.850655, -0.309011),
POStoFIXED(-0.609548, 0.657518, -0.442857),
POStoFIXED(0.0776063, 0.96795, -0.23885),
POStoFIXED(0.162454, 0.850655, -0.499995),
POStoFIXED(0.23282, 0.657519, -0.716564),
POStoFIXED(0.361798, 0.894431, -0.26286),
POStoFIXED(0.638192, 0.723611, -0.262864),
POStoFIXED(0.44721, 0.723612, -0.525728),
POStoFIXED(-0.138195, 0.894431, -0.425317),
POStoFIXED(-0.052788, 0.723612, -0.688185),
POStoFIXED(-0.361803, 0.723613, -0.587778),
POStoFIXED(-0.447209, 0.89443, 0),
POStoFIXED(-0.670816, 0.723612, -0.162457),
POStoFIXED(-0.670816, 0.723612, 0.162457),
POStoFIXED(-0.138195, 0.894431, 0.425317),
POStoFIXED(-0.361803, 0.723613, 0.587778),
POStoFIXED(-0.052788, 0.723612, 0.688185),
POStoFIXED(0.361798, 0.894431, 0.26286),
POStoFIXED(0.44721, 0.723612, 0.525728),
POStoFIXED(0.638192, 0.723611, 0.262864),
POStoFIXED(0.861805, 0.276395, -0.425321),
POStoFIXED(0.80902, 0, -0.587782),
POStoFIXED(0.670821, 0.276395, -0.68819),
POStoFIXED(-0.138199, 0.276395, -0.951056),
POStoFIXED(-0.309015, 0, -0.951057),
POStoFIXED(-0.447214, 0.276395, -0.85065),
POStoFIXED(-0.947214, 0.276394, -0.162457),
POStoFIXED(-1, 0, 0),
POStoFIXED(-0.947214, 0.276394, 0.162457),
POStoFIXED(-0.447214, 0.276395, 0.85065),
POStoFIXED(-0.309015, 0, 0.951057),
POStoFIXED(-0.138199, 0.276395, 0.951056),
POStoFIXED(0.670821, 0.276395, 0.68819),
POStoFIXED(0.80902, 0, 0.587782),
POStoFIXED(0.861805, 0.276395, 0.425321),
POStoFIXED(0.309015, 0, -0.951057),
POStoFIXED(0.447213, -0.276398, -0.850649),
POStoFIXED(0.138199, -0.276398, -0.951055),
POStoFIXED(-0.80902, 0, -0.587782),
POStoFIXED(-0.670819, -0.276394, -0.688192),
POStoFIXED(-0.861803, -0.276395, -0.425325),
POStoFIXED(-0.80902, 0, 0.587782),
POStoFIXED(-0.861803, -0.276395, 0.425325),
POStoFIXED(-0.670819, -0.276394, 0.688192),
POStoFIXED(0.309015, 0, 0.951057),
POStoFIXED(0.138199, -0.276398, 0.951055),
POStoFIXED(0.447213, -0.276398, 0.850649),
POStoFIXED(1, 0, 0),
POStoFIXED(0.947214, -0.276394, 0.162457),
POStoFIXED(0.947214, -0.276394, -0.162457),
POStoFIXED(0.361803, -0.723613, -0.587778),
POStoFIXED(0.138195, -0.89443, -0.42532),
POStoFIXED(0.052788, -0.723612, -0.688185),
POStoFIXED(-0.44721, -0.723612, -0.525728),
POStoFIXED(-0.361798, -0.894431, -0.26286),
POStoFIXED(-0.638195, -0.72361, -0.262861),
POStoFIXED(-0.638194, -0.723609, 0.262864),
POStoFIXED(-0.361799, -0.894429, 0.262865),
POStoFIXED(-0.44721, -0.723612, 0.525728),
POStoFIXED(0.670816, -0.723612, -0.162457),
POStoFIXED(0.670816, -0.723612, 0.162457),
POStoFIXED(0.447211, -0.894429, 0),
POStoFIXED(0.052788, -0.723612, 0.688185),
POStoFIXED(0.138199, -0.894429, 0.42532),
POStoFIXED(0.361806, -0.723612, 0.587778),
};
#endif // ANORM_H