13 #ifndef _VRML_SHAPE_POINTS_HH
14 #define _VRML_SHAPE_POINTS_HH
16 #define NB_VERTICES_INIT_SPHERE 242
17 #define NB_TRIANGLES_INIT_SPHERE 480
20 double vrml_vert_sphere[3*NB_VERTICES_INIT_SPHERE] = {
21 -0.195090, 0.980785, 0.000000,
22 -0.382683, 0.923880, 0.000000,
23 -0.555570, 0.831470, 0.000000,
24 -0.707107, 0.707107, 0.000000,
25 -0.831470, 0.555570, 0.000000,
26 -0.923880, 0.382683, 0.000000,
27 -0.980785, 0.195090, 0.000000,
28 -1.000000, 0.000000, 0.000000,
29 -0.980785, -0.195090, 0.000000,
30 -0.923880, -0.382683, 0.000000,
31 -0.831470, -0.555570, 0.000000,
32 -0.707107, -0.707107, 0.000000,
33 -0.555570, -0.831470, 0.000000,
34 -0.382683, -0.923880, 0.000000,
35 -0.195090, -0.980785, 0.000000,
36 0.000000, -1.000000, 0.000000,
37 -0.180240, 0.980785, -0.074658,
38 -0.353553, 0.923880, -0.146447,
39 -0.513280, 0.831470, -0.212608,
40 -0.653281, 0.707107, -0.270598,
41 -0.768178, 0.555570, -0.318190,
42 -0.853553, 0.382683, -0.353554,
43 -0.906127, 0.195090, -0.375330,
44 -0.923880, 0.000000, -0.382684,
45 -0.906127, -0.195090, -0.375330,
46 -0.853553, -0.382683, -0.353554,
47 -0.768178, -0.555570, -0.318190,
48 -0.653281, -0.707107, -0.270598,
49 -0.513280, -0.831470, -0.212608,
50 -0.353553, -0.923880, -0.146447,
51 -0.180240, -0.980785, -0.074658,
52 -0.137950, 0.980785, -0.137950,
53 -0.270598, 0.923880, -0.270598,
54 -0.392847, 0.831470, -0.392848,
55 -0.500000, 0.707107, -0.500000,
56 -0.587938, 0.555570, -0.587938,
57 -0.653281, 0.382683, -0.653282,
58 -0.693520, 0.195090, -0.693520,
59 -0.707107, 0.000000, -0.707107,
60 -0.693520, -0.195090, -0.693520,
61 -0.653281, -0.382683, -0.653282,
62 -0.587938, -0.555570, -0.587938,
63 -0.500000, -0.707107, -0.500000,
64 -0.392847, -0.831470, -0.392848,
65 -0.270598, -0.923880, -0.270598,
66 -0.137949, -0.980785, -0.137950,
67 -0.074658, 0.980785, -0.180240,
68 -0.146446, 0.923880, -0.353554,
69 -0.212607, 0.831470, -0.513280,
70 -0.270598, 0.707107, -0.653282,
71 -0.318189, 0.555570, -0.768178,
72 -0.353553, 0.382683, -0.853554,
73 -0.375330, 0.195090, -0.906128,
74 -0.382683, 0.000000, -0.923880,
75 -0.375330, -0.195090, -0.906128,
76 -0.353553, -0.382683, -0.853554,
77 -0.318189, -0.555570, -0.768178,
78 -0.270598, -0.707107, -0.653282,
79 -0.212607, -0.831470, -0.513280,
80 -0.146446, -0.923880, -0.353554,
81 -0.074658, -0.980785, -0.180240,
82 0.000000, 0.980785, -0.195091,
83 0.000000, 0.923880, -0.382684,
84 0.000000, 0.831470, -0.555571,
85 0.000000, 0.707107, -0.707107,
86 0.000000, 0.555570, -0.831470,
87 0.000000, 0.382683, -0.923880,
88 0.000000, 0.195090, -0.980785,
89 0.000000, 0.000000, -1.000000,
90 0.000000, -0.195090, -0.980785,
91 0.000000, -0.382683, -0.923880,
92 0.000000, -0.555570, -0.831470,
93 0.000000, -0.707107, -0.707107,
94 0.000000, -0.831470, -0.555570,
95 0.000000, -0.923880, -0.382684,
96 0.000000, -0.980785, -0.195090,
97 0.074658, 0.980785, -0.180240,
98 0.146447, 0.923880, -0.353554,
99 0.212608, 0.831470, -0.513280,
100 0.270599, 0.707107, -0.653282,
101 0.318190, 0.555570, -0.768178,
102 0.353554, 0.382683, -0.853554,
103 0.375331, 0.195090, -0.906128,
104 0.382684, 0.000000, -0.923880,
105 0.375331, -0.195090, -0.906128,
106 0.353554, -0.382683, -0.853554,
107 0.318190, -0.555570, -0.768178,
108 0.270599, -0.707107, -0.653282,
109 0.212608, -0.831470, -0.513280,
110 0.146447, -0.923880, -0.353553,
111 0.074658, -0.980785, -0.180240,
112 0.137950, 0.980785, -0.137950,
113 0.270599, 0.923880, -0.270598,
114 0.392848, 0.831470, -0.392848,
115 0.500000, 0.707107, -0.500000,
116 0.587938, 0.555570, -0.587938,
117 0.653282, 0.382683, -0.653282,
118 0.693520, 0.195090, -0.693520,
119 0.707107, 0.000000, -0.707107,
120 0.693520, -0.195090, -0.693520,
121 0.653282, -0.382683, -0.653282,
122 0.587938, -0.555570, -0.587938,
123 0.500000, -0.707107, -0.500000,
124 0.392848, -0.831470, -0.392848,
125 0.270598, -0.923880, -0.270598,
126 0.137950, -0.980785, -0.137950,
127 0.180241, 0.980785, -0.074658,
128 0.353554, 0.923880, -0.146447,
129 0.513281, 0.831470, -0.212608,
130 0.653282, 0.707107, -0.270598,
131 0.768178, 0.555570, -0.318190,
132 0.853554, 0.382683, -0.353553,
133 0.906128, 0.195090, -0.375330,
134 0.923880, 0.000000, -0.382683,
135 0.906128, -0.195090, -0.375330,
136 0.853554, -0.382683, -0.353553,
137 0.768178, -0.555570, -0.318190,
138 0.653282, -0.707107, -0.270598,
139 0.513280, -0.831470, -0.212608,
140 0.353554, -0.923880, -0.146447,
141 0.180240, -0.980785, -0.074658,
142 0.195091, 0.980785, 0.000000,
143 0.382684, 0.923880, 0.000000,
144 0.555571, 0.831470, 0.000000,
145 0.707107, 0.707107, -0.000000,
146 0.831470, 0.555570, -0.000000,
147 0.923880, 0.382683, -0.000000,
148 0.980786, 0.195090, -0.000000,
149 1.000000, 0.000000, -0.000000,
150 0.980786, -0.195090, -0.000000,
151 0.923880, -0.382683, -0.000000,
152 0.831470, -0.555570, -0.000000,
153 0.707107, -0.707107, -0.000000,
154 0.555571, -0.831470, -0.000000,
155 0.382684, -0.923880, 0.000000,
156 0.195091, -0.980785, 0.000000,
157 0.180240, 0.980785, 0.074658,
158 0.353554, 0.923880, 0.146447,
159 0.513280, 0.831470, 0.212608,
160 0.653282, 0.707107, 0.270598,
161 0.768178, 0.555570, 0.318190,
162 0.853554, 0.382683, 0.353553,
163 0.906128, 0.195090, 0.375330,
164 0.923880, 0.000000, 0.382683,
165 0.906128, -0.195090, 0.375330,
166 0.853554, -0.382683, 0.353553,
167 0.768178, -0.555570, 0.318190,
168 0.653282, -0.707107, 0.270598,
169 0.513280, -0.831470, 0.212608,
170 0.353554, -0.923880, 0.146447,
171 0.180240, -0.980785, 0.074658,
172 0.137950, 0.980785, 0.137950,
173 0.270599, 0.923880, 0.270598,
174 0.392848, 0.831470, 0.392848,
175 0.500000, 0.707107, 0.500000,
176 0.587938, 0.555570, 0.587938,
177 0.653282, 0.382683, 0.653281,
178 0.693520, 0.195090, 0.693520,
179 0.707107, 0.000000, 0.707107,
180 0.693520, -0.195090, 0.693520,
181 0.653282, -0.382683, 0.653281,
182 0.587938, -0.555570, 0.587938,
183 0.500000, -0.707107, 0.500000,
184 0.392848, -0.831470, 0.392847,
185 0.270598, -0.923880, 0.270598,
186 0.137950, -0.980785, 0.137950,
187 0.074658, 0.980785, 0.180240,
188 0.146447, 0.923880, 0.353554,
189 0.212608, 0.831470, 0.513280,
190 0.270598, 0.707107, 0.653281,
191 0.318190, 0.555570, 0.768178,
192 0.353554, 0.382683, 0.853553,
193 0.375331, 0.195090, 0.906127,
194 0.382684, 0.000000, 0.923879,
195 0.375331, -0.195090, 0.906127,
196 0.353554, -0.382683, 0.853553,
197 0.318190, -0.555570, 0.768178,
198 0.270598, -0.707107, 0.653281,
199 0.212608, -0.831470, 0.513280,
200 0.146447, -0.923880, 0.353553,
201 0.074658, -0.980785, 0.180240,
202 0.000000, 0.980785, 0.195091,
203 0.000000, 0.923880, 0.382684,
204 0.000000, 0.831470, 0.555570,
205 0.000000, 0.707107, 0.707107,
206 0.000000, 0.555570, 0.831470,
207 0.000000, 0.382683, 0.923879,
208 0.000000, 0.195090, 0.980785,
209 0.000000, 0.000000, 1.000000,
210 0.000000, -0.195090, 0.980785,
211 0.000000, -0.382683, 0.923879,
212 0.000000, -0.555570, 0.831470,
213 0.000000, -0.707107, 0.707107,
214 0.000000, -0.831470, 0.555570,
215 0.000000, -0.923880, 0.382683,
216 0.000000, -0.980785, 0.195090,
217 0.000000, 1.000000, 0.000000,
218 -0.074658, 0.980785, 0.180240,
219 -0.146446, 0.923880, 0.353554,
220 -0.212607, 0.831470, 0.513280,
221 -0.270598, 0.707107, 0.653281,
222 -0.318189, 0.555570, 0.768178,
223 -0.353553, 0.382683, 0.853553,
224 -0.375330, 0.195090, 0.906127,
225 -0.382683, 0.000000, 0.923879,
226 -0.375330, -0.195090, 0.906127,
227 -0.353553, -0.382683, 0.853553,
228 -0.318189, -0.555570, 0.768178,
229 -0.270598, -0.707107, 0.653281,
230 -0.212607, -0.831470, 0.513280,
231 -0.146446, -0.923880, 0.353553,
232 -0.074658, -0.980785, 0.180240,
233 -0.137950, 0.980785, 0.137950,
234 -0.270598, 0.923880, 0.270598,
235 -0.392847, 0.831470, 0.392847,
236 -0.500000, 0.707107, 0.500000,
237 -0.587937, 0.555570, 0.587938,
238 -0.653281, 0.382683, 0.653281,
239 -0.693519, 0.195090, 0.693520,
240 -0.707106, 0.000000, 0.707107,
241 -0.693519, -0.195090, 0.693520,
242 -0.653281, -0.382683, 0.653281,
243 -0.587937, -0.555570, 0.587938,
244 -0.500000, -0.707107, 0.500000,
245 -0.392847, -0.831470, 0.392847,
246 -0.270598, -0.923880, 0.270598,
247 -0.137949, -0.980785, 0.137950,
248 -0.180240, 0.980785, 0.074658,
249 -0.353553, 0.923880, 0.146447,
250 -0.513280, 0.831470, 0.212607,
251 -0.653281, 0.707107, 0.270598,
252 -0.768177, 0.555570, 0.318190,
253 -0.853553, 0.382683, 0.353553,
254 -0.906127, 0.195090, 0.375330,
255 -0.923879, 0.000000, 0.382683,
256 -0.906127, -0.195090, 0.375330,
257 -0.853553, -0.382683, 0.353553,
258 -0.768177, -0.555570, 0.318190,
259 -0.653281, -0.707107, 0.270598,
260 -0.513280, -0.831470, 0.212608,
261 -0.353553, -0.923880, 0.146447,
262 -0.180240, -0.980785, 0.074658
266 int vrml_coord_sphere[3*NB_TRIANGLES_INIT_SPHERE] = {
754 #define NB_VERTICES_INIT_CONE 33
755 #define NB_TRIANGLES_INIT_CONE 62
758 double vrml_vert_cone[3*NB_VERTICES_INIT_CONE] = {
759 0.000000, -1.0, -1.000000,
760 0.000000, 1.0, 0.000000,
761 0.195090, -1.0, -0.980785,
762 0.382683, -1.0, -0.923880,
763 0.555570, -1.0, -0.831470,
764 0.707107, -1.0, -0.707107,
765 0.831470, -1.0, -0.555570,
766 0.923880, -1.0, -0.382683,
767 0.980785, -1.0, -0.195090,
768 1.000000, -1.0, -0.000000,
769 0.980785, -1.0, 0.195090,
770 0.923880, -1.0, 0.382683,
771 0.831470, -1.0, 0.555570,
772 0.707107, -1.0, 0.707107,
773 0.555570, -1.0, 0.831470,
774 0.382683, -1.0, 0.923880,
775 0.195090, -1.0, 0.980785,
776 -0.000000, -1.0, 1.000000,
777 -0.195091, -1.0, 0.980785,
778 -0.382684, -1.0, 0.923879,
779 -0.555571, -1.0, 0.831469,
780 -0.707107, -1.0, 0.707106,
781 -0.831470, -1.0, 0.555570,
782 -0.923880, -1.0, 0.382683,
783 -0.980785, -1.0, 0.195089,
784 -1.000000, -1.0, -0.000001,
785 -0.980785, -1.0, -0.195091,
786 -0.923879, -1.0, -0.382684,
787 -0.831469, -1.0, -0.555571,
788 -0.707106, -1.0, -0.707108,
789 -0.555569, -1.0, -0.831470,
790 -0.382682, -1.0, -0.923880,
791 -0.195089, -1.0, -0.980786
795 int vrml_coord_cone[3*NB_TRIANGLES_INIT_CONE] = {
866 #define NB_VERTICES_INIT_CYLINDER 64
867 #define NB_TRIANGLES_INIT_CYLINDER 124
870 double vrml_vert_cylinder[3*NB_VERTICES_INIT_CYLINDER] = {
871 0.000000, -1.0, -1.000000,
872 0.000000, 1.0, -1.000000,
873 0.195090, -1.0, -0.980785,
874 0.195090, 1.0, -0.980785,
875 0.382683, -1.0, -0.923880,
876 0.382683, 1.0, -0.923880,
877 0.555570, -1.0, -0.831470,
878 0.555570, 1.0, -0.831470,
879 0.707107, -1.0, -0.707107,
880 0.707107, 1.0, -0.707107,
881 0.831470, -1.0, -0.555570,
882 0.831470, 1.0, -0.555570,
883 0.923880, -1.0, -0.382683,
884 0.923880, 1.0, -0.382683,
885 0.980785, -1.0, -0.195090,
886 0.980785, 1.0, -0.195090,
887 1.000000, -1.0, -0.000000,
888 1.000000, 1.0, -0.000000,
889 0.980785, -1.0, 0.195090,
890 0.980785, 1.0, 0.195090,
891 0.923880, -1.0, 0.382683,
892 0.923880, 1.0, 0.382683,
893 0.831470, -1.0, 0.555570,
894 0.831470, 1.0, 0.555570,
895 0.707107, -1.0, 0.707107,
896 0.707107, 1.0, 0.707107,
897 0.555570, -1.0, 0.831470,
898 0.555570, 1.0, 0.831470,
899 0.382683, -1.0, 0.923880,
900 0.382683, 1.0, 0.923880,
901 0.195090, -1.0, 0.980785,
902 0.195090, 1.0, 0.980785,
903 -0.000000, -1.0, 1.000000,
904 -0.000000, 1.0, 1.000000,
905 -0.195091, -1.0, 0.980785,
906 -0.195091, 1.0, 0.980785,
907 -0.382684, -1.0, 0.923879,
908 -0.382684, 1.0, 0.923879,
909 -0.555571, -1.0, 0.831469,
910 -0.555571, 1.0, 0.831469,
911 -0.707107, -1.0, 0.707106,
912 -0.707107, 1.0, 0.707106,
913 -0.831470, -1.0, 0.555570,
914 -0.831470, 1.0, 0.555570,
915 -0.923880, -1.0, 0.382683,
916 -0.923880, 1.0, 0.382683,
917 -0.980785, -1.0, 0.195089,
918 -0.980785, 1.0, 0.195089,
919 -1.000000, -1.0, -0.000001,
920 -1.000000, 1.0, -0.000001,
921 -0.980785, -1.0, -0.195091,
922 -0.980785, 1.0, -0.195091,
923 -0.923879, -1.0, -0.382684,
924 -0.923879, 1.0, -0.382684,
925 -0.831469, -1.0, -0.555571,
926 -0.831469, 1.0, -0.555571,
927 -0.707106, -1.0, -0.707108,
928 -0.707106, 1.0, -0.707108,
929 -0.555569, -1.0, -0.831470,
930 -0.555569, 1.0, -0.831470,
931 -0.382682, -1.0, -0.923880,
932 -0.382682, 1.0, -0.923880,
933 -0.195089, -1.0, -0.980786,
934 -0.195089, 1.0, -0.980786
938 int vrml_coord_cylinder[3*NB_TRIANGLES_INIT_CYLINDER] = {
1071 #define NB_VERTICES_INIT_BOX 8
1072 #define NB_TRIANGLES_INIT_BOX 12
1075 double vrml_vert_box[3*NB_VERTICES_INIT_BOX] = {
1087 int vrml_coord_box[3*NB_TRIANGLES_INIT_BOX] = {
1105 #endif //_VRML_SHAPE_POINTS_HH