-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcube_render.h
335 lines (324 loc) · 16.3 KB
/
cube_render.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
Gfx cube_render_tileable_space_texture_ci4_aligner[] = {gsSPEndDisplayList()};
u8 cube_render_tileable_space_texture_ci4[] = {
0x1, 0x22, 0x33, 0x34, 0x44, 0x44, 0x54, 0x44, 0x44,
0x44, 0x44, 0x66, 0x33, 0x33, 0x66, 0x67, 0x77, 0x78,
0x22, 0x22, 0x92, 0x22, 0x22, 0x1A, 0x11, 0x10, 0xBB,
0xBB, 0xB0, 0x0, 0x0, 0x0, 0x2, 0x36, 0x63, 0x34,
0x34, 0xC3, 0x44, 0x33, 0x33, 0x33, 0x34, 0x44, 0x43,
0x23, 0x6D, 0x77, 0x77, 0x88, 0x22, 0x22, 0x12, 0x22,
0x22, 0x22, 0x21, 0x11, 0xBB, 0xBB, 0xB0, 0x0, 0x0,
0x0, 0x12, 0x66, 0xD4, 0x43, 0x33, 0x33, 0x33, 0x33,
0x11, 0x11, 0x33, 0x66, 0x44, 0x36, 0xDD, 0x77, 0x77,
0x78, 0xE2, 0x22, 0x22, 0x22, 0xE2, 0x92, 0x22, 0x11,
0x10, 0xBB, 0xB0, 0x0, 0x0, 0x0, 0x23, 0x6D, 0xDD,
0x43, 0x32, 0x33, 0x33, 0x31, 0x0, 0x0, 0x13, 0xC4,
0x44, 0x4D, 0x5F, 0xFF, 0x77, 0x77, 0x66, 0x68, 0x82,
0x22, 0x22, 0x22, 0x22, 0x21, 0x11, 0x0, 0x0, 0x0,
0x10, 0x11, 0x36, 0xDD, 0x55, 0x43, 0x33, 0x33, 0x39,
0x11, 0x0, 0x0, 0x11, 0x44, 0x44, 0x55, 0xFF, 0xFF,
0xF7, 0x77, 0x77, 0x77, 0xCE, 0x22, 0x21, 0x22, 0x11,
0x22, 0x22, 0x10, 0x0, 0x11, 0x11, 0x11, 0x36, 0xD5,
0x55, 0x43, 0x31, 0x33, 0x32, 0x11, 0x0, 0x0, 0x1,
0x34, 0x44, 0x55, 0x5F, 0xFF, 0xF7, 0x77, 0x77, 0x77,
0x78, 0xE2, 0x22, 0x22, 0x22, 0xE3, 0xE2, 0x21, 0x13,
0x33, 0x11, 0x13, 0x6C, 0xD5, 0x55, 0x43, 0x31, 0x23,
0x21, 0x10, 0xB, 0xBB, 0x0, 0x12, 0x44, 0x45, 0x5F,
0xFF, 0xF7, 0x77, 0x77, 0x77, 0x88, 0xEC, 0x22, 0x23,
0xE3, 0x66, 0x66, 0x33, 0x33, 0x33, 0x11, 0x33, 0x4D,
0x55, 0x54, 0x43, 0x31, 0x22, 0x21, 0x10, 0xBB, 0xBB,
0xB0, 0x1, 0x33, 0x45, 0x5F, 0xFF, 0xF7, 0x77, 0x77,
0x77, 0x88, 0x2C, 0x22, 0x33, 0x66, 0x44, 0x44, 0x44,
0x44, 0x43, 0x21, 0x33, 0x4D, 0x55, 0x55, 0x43, 0x31,
0x22, 0x21, 0x10, 0xBB, 0xBB, 0xBB, 0x0, 0x13, 0x45,
0x5F, 0xFF, 0xFF, 0x77, 0x77, 0x77, 0x88, 0xC2, 0x23,
0x36, 0x64, 0x44, 0x44, 0x44, 0x45, 0x44, 0x33, 0x36,
0xD5, 0x55, 0x55, 0x43, 0x33, 0x11, 0x99, 0x10, 0xB,
0xBB, 0xBB, 0x0, 0x1A, 0x44, 0x55, 0xFF, 0xFF, 0x77,
0x77, 0x76, 0xE2, 0xE2, 0x22, 0x33, 0x64, 0x44, 0x44,
0x44, 0x55, 0x54, 0x43, 0x64, 0xD5, 0x55, 0x55, 0x43,
0x33, 0x22, 0x21, 0x19, 0xB, 0xBB, 0xB9, 0x0, 0x1,
0x34, 0x44, 0xDD, 0xFD, 0xDD, 0x66, 0x66, 0xE2, 0x22,
0x22, 0xAC, 0x64, 0x44, 0x44, 0xC4, 0x55, 0x5D, 0xD6,
0x64, 0xDD, 0x55, 0x54, 0x44, 0x33, 0x32, 0x21, 0x11,
0x0, 0xB, 0xBB, 0x0, 0x0, 0x11, 0x33, 0x4D, 0xDD,
0x66, 0x3E, 0x23, 0xE2, 0x22, 0x22, 0x36, 0x64, 0x33,
0x36, 0x44, 0x45, 0xDD, 0xD6, 0x66, 0xDD, 0xDD, 0x54,
0x43, 0x43, 0x32, 0x22, 0x11, 0x0, 0x0, 0x0, 0x0,
0x0, 0x1, 0x23, 0x66, 0x66, 0x63, 0x22, 0x23, 0x32,
0x22, 0x23, 0x36, 0x63, 0x33, 0x33, 0x44, 0x4D, 0xDD,
0xD8, 0x6D, 0x66, 0x44, 0x44, 0x44, 0x44, 0x32, 0x22,
0x21, 0x11, 0x11, 0x10, 0xBB, 0x0, 0x0, 0x12, 0x22,
0xEC, 0x32, 0x21, 0x12, 0x32, 0x22, 0x33, 0x64, 0x63,
0x33, 0x33, 0x34, 0x4D, 0xDD, 0x7E, 0x67, 0x63, 0x33,
0x44, 0x44, 0x46, 0x63, 0xE2, 0x22, 0x12, 0x22, 0x29,
0x0, 0x0, 0x0, 0x11, 0x11, 0x22, 0x21, 0x11, 0x11,
0x23, 0x33, 0x33, 0x64, 0x44, 0x43, 0x33, 0x44, 0x66,
0x67, 0x68, 0x77, 0xE3, 0x33, 0x33, 0x33, 0x36, 0x66,
0xEE, 0x22, 0x22, 0xEE, 0xE2, 0x10, 0x0, 0xB, 0x11,
0x11, 0x11, 0x11, 0x0, 0x1, 0x13, 0x23, 0x33, 0x34,
0x44, 0x43, 0x44, 0x44, 0x63, 0x6E, 0x88, 0x86, 0xE3,
0x2C, 0xA3, 0x34, 0x44, 0x6C, 0xEE, 0x88, 0x88, 0x88,
0x8E, 0x21, 0x0, 0xB, 0x1, 0x11, 0x10, 0x0, 0x0,
0x1, 0x13, 0x33, 0x11, 0x33, 0x44, 0xD6, 0x44, 0x46,
0x63, 0xE2, 0xEE, 0xC8, 0xE3, 0x22, 0x36, 0x64, 0xDD,
0x66, 0x68, 0x88, 0x87, 0x78, 0x88, 0xE2, 0x10, 0x0,
0xB1, 0x12, 0x11, 0x0, 0x0, 0x0, 0x12, 0x11, 0x11,
0x23, 0x64, 0xDD, 0xDD, 0xD6, 0x68, 0xEE, 0xEE, 0xCE,
0xEE, 0x23, 0x66, 0x46, 0xDD, 0xD4, 0x66, 0x88, 0x87,
0x77, 0x77, 0x82, 0x21, 0x0, 0x0, 0x11, 0x21, 0x10,
0x0, 0x0, 0x11, 0x11, 0x11, 0x12, 0x34, 0xDD, 0xDD,
0x76, 0x68, 0x8E, 0xE2, 0xEE, 0x22, 0x22, 0x36, 0x44,
0xD5, 0xD6, 0x36, 0x68, 0x88, 0x77, 0x77, 0x78, 0x22,
0x11, 0xA1, 0x11, 0x22, 0x11, 0x0, 0x1, 0x0, 0x0,
0x11, 0x12, 0x26, 0xDD, 0xD7, 0x76, 0xE8, 0xEE, 0x22,
0x22, 0x22, 0x22, 0x33, 0x44, 0x4D, 0xD6, 0x66, 0x68,
0x88, 0x77, 0x77, 0x78, 0x32, 0x21, 0x11, 0x12, 0x22,
0x21, 0x0, 0x1, 0x0, 0x0, 0x0, 0x11, 0x13, 0x36,
0x67, 0x78, 0xEE, 0xEE, 0x22, 0x11, 0x22, 0x22, 0x23,
0x34, 0x44, 0x66, 0x66, 0x67, 0x88, 0x77, 0x77, 0x76,
0xC3, 0x22, 0x22, 0x22, 0x22, 0x11, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x12, 0x33, 0x87, 0x88, 0x88, 0xE2,
0x22, 0x22, 0xE2, 0x22, 0x21, 0x13, 0x23, 0x66, 0x66,
0x88, 0x88, 0x87, 0x77, 0x76, 0x63, 0x22, 0x2E, 0x23,
0x33, 0x22, 0x10, 0x0, 0x9, 0x0, 0x0, 0x0, 0x1,
0x22, 0x88, 0x8E, 0xE2, 0x22, 0x22, 0x22, 0x22, 0x22,
0x11, 0x11, 0x13, 0x33, 0x3E, 0xEE, 0xEE, 0x8C, 0x77,
0x86, 0x63, 0x33, 0x33, 0x33, 0x33, 0x22, 0x1B, 0x0,
0x0, 0x0, 0x0, 0x9, 0x0, 0x12, 0xE2, 0x22, 0x22,
0x22, 0x22, 0x22, 0x22, 0x11, 0x11, 0x11, 0x11, 0x91,
0x11, 0x22, 0x2E, 0x87, 0x87, 0x76, 0xE3, 0x33, 0x44,
0x33, 0x33, 0x22, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x1, 0xBB, 0x11, 0x11, 0x22, 0x22, 0xE2, 0x21,
0x11, 0x11, 0x10, 0x0, 0x0, 0x1, 0x11, 0x22, 0x87,
0x77, 0x76, 0x63, 0x34, 0x44, 0x33, 0x33, 0x32, 0x10,
0x0, 0xB, 0x90, 0x0, 0x0, 0x0, 0x0, 0xBB, 0xBB,
0xB1, 0x22, 0x92, 0x22, 0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0xB, 0x1B, 0xB, 0xBB, 0x0, 0x11, 0x28, 0x88, 0x20,
0xB, 0xBB, 0xBB, 0xBB, 0x90, 0x1, 0xBB, 0xB1, 0x11,
0x22, 0x2E, 0x22, 0x21, 0x11, 0x22, 0x11, 0x11, 0x11,
0x11, 0x11, 0xA1, 0x10, 0x0, 0x0, 0xB, 0xBB, 0xB0,
0x0, 0x11, 0x28, 0x88, 0xE1, 0x0, 0xB, 0xBB, 0xB0,
0x0, 0x11, 0x11, 0x11, 0x12, 0x22, 0x22, 0x22, 0x21,
0x11, 0x22, 0x22, 0x92, 0x22, 0x33, 0x33, 0x11, 0x0,
0x0, 0x0, 0x0, 0x10, 0xB0, 0xB0, 0x12, 0x2E, 0xEE,
0x22, 0xB0, 0xB, 0x0, 0x0, 0x11, 0x22, 0x22, 0x22,
0x22, 0x22, 0x22, 0x22, 0x11, 0x22, 0x22, 0x22, 0x21,
0x2E, 0x33, 0x33, 0x11, 0x9, 0x0, 0x0, 0x10, 0xBB,
0xB0, 0x1, 0x12, 0x2E, 0xE2, 0x22, 0x10, 0x0, 0x90,
0x1, 0x12, 0xE2, 0xE2, 0x22, 0x22, 0x2E, 0xE2, 0xE2,
0x22, 0x22, 0x22, 0x22, 0x11, 0x2E, 0x34, 0x64, 0x31,
0x10, 0xB, 0x0, 0x1B, 0xAB, 0x0, 0x1, 0x12, 0x99,
0x22, 0x21, 0x10, 0x0, 0x0, 0x12, 0x23, 0x66, 0xE8,
0xE2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x21, 0x22,
0x12, 0x2A, 0x34, 0x44, 0x31, 0x10, 0x0, 0x0, 0x0,
0xBB, 0xB0, 0x0, 0x12, 0xA1, 0x22, 0x22, 0x21, 0xB9,
0x11, 0x23, 0x33, 0x66, 0x66, 0x82, 0x22, 0x22, 0x22,
0x22, 0x22, 0x22, 0x21, 0x22, 0x22, 0x2E, 0xE6, 0x44,
0x43, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xB1,
0x11, 0x12, 0x22, 0x22, 0x29, 0x23, 0x33, 0xE2, 0xE6,
0x36, 0xE2, 0x22, 0x21, 0x12, 0x22, 0x2E, 0x29, 0x91,
0x12, 0x22, 0x23, 0x34, 0x44, 0x44, 0x33, 0x10, 0x0,
0x10, 0x0, 0x0, 0xB0, 0x11, 0x1, 0x12, 0x33, 0x33,
0x33, 0x33, 0x3E, 0xE2, 0x2E, 0xE2, 0x22, 0x21, 0x11,
0x12, 0x28, 0xEE, 0x22, 0x11, 0x11, 0x22, 0x23, 0x34,
0x44, 0x44, 0x44, 0x33, 0x11, 0x10, 0x0, 0x0, 0x0,
0xB, 0x11, 0x22, 0x66, 0x44, 0x44, 0x66, 0x66, 0x3E,
0x22, 0x92, 0x22, 0x21, 0x11, 0x12, 0x2E, 0x88, 0x22,
0x11, 0x11, 0x11, 0x23, 0x44, 0x44, 0x44, 0x44, 0x44,
0x31, 0x10, 0x0, 0x0, 0x0, 0x11, 0x12, 0x23, 0x64,
0x44, 0x44, 0x66, 0x66, 0x8E, 0x22, 0x21, 0x19, 0x21,
0x11, 0xB1, 0x2E, 0x86, 0xE2, 0x10, 0x0, 0x1, 0x13,
0x34, 0x44, 0x4D, 0x44, 0x44, 0x33, 0x31, 0x10, 0xB,
0x0, 0x11, 0x12, 0x23, 0x64, 0x44, 0xC4, 0x66, 0xE8,
0xE2, 0x22, 0x11, 0x11, 0x22, 0x11, 0x19, 0x22, 0xEE,
0x22, 0x10, 0x0, 0x0, 0x1, 0x34, 0x4D, 0x5D, 0xDD,
0xD4, 0x43, 0x43, 0x31, 0x90, 0x0, 0x11, 0x12, 0x33,
0x44, 0x44, 0x44, 0x6E, 0xEE, 0x22, 0x21, 0x11, 0x11,
0x21, 0x11, 0x11, 0x22, 0xEE, 0x21, 0x10, 0x0, 0x0,
0x1, 0x34, 0x4D, 0x55, 0xDD, 0xDD, 0x44, 0x64, 0x31,
0x0, 0x0, 0x11, 0x12, 0x34, 0x44, 0xD5, 0x44, 0x66,
0x8E, 0x21, 0x11, 0x11, 0x11, 0x21, 0x12, 0x22, 0x22,
0x22, 0x11, 0xA0, 0x0, 0x0, 0x0, 0x33, 0x4D, 0xD5,
0xDD, 0xDD, 0xD4, 0xD4, 0x33, 0x10, 0x0, 0x11, 0x33,
0x44, 0xDD, 0x55, 0xDD, 0x76, 0x88, 0xE2, 0x11, 0x11,
0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x10, 0x0, 0x0,
0x9, 0x0, 0x13, 0x4D, 0xDF, 0xFF, 0xFD, 0xDD, 0xD4,
0x33, 0x11, 0x0, 0x11, 0x3C, 0x45, 0x55, 0x5D, 0xDD,
0x77, 0x88, 0xE2, 0x11, 0x11, 0x12, 0x22, 0x22, 0x22,
0x22, 0x21, 0x10, 0x9, 0x0, 0xB, 0x90, 0x13, 0x4D,
0xDF, 0xFF, 0xFD, 0xDD, 0xD6, 0x33, 0x21, 0x0, 0x12,
0x34, 0x45, 0x55, 0x5D, 0xDD, 0x77, 0x88, 0xE2, 0x10,
0x11, 0x12, 0x2E, 0x22, 0x22, 0xE3, 0x31, 0x10, 0x0,
0x0, 0xB0, 0x0, 0x13, 0x4D, 0xDF, 0xFF, 0xFD, 0xDD,
0x66, 0x33, 0x33, 0x10, 0x12, 0x34, 0x4D, 0x55, 0x5D,
0xDD, 0x78, 0x8E, 0x21, 0xB, 0x9, 0x12, 0x22, 0x22,
0x22, 0x33, 0x21, 0xA0, 0x0, 0xB, 0x9B, 0x0, 0x13,
0x6D, 0xDF, 0xFF, 0xDD, 0x76, 0x66, 0x33, 0x33, 0x31,
0x19, 0x34, 0x44, 0x55, 0x5D, 0xDD, 0x6E, 0xE2, 0x21,
0xBB, 0xBB, 0x12, 0x2E, 0xEE, 0x22, 0x33, 0x11, 0x10,
0x0, 0xBB, 0x0, 0x0, 0x1, 0x36, 0xD7, 0xFD, 0x77,
0x76, 0x2E, 0xE3, 0x33, 0x33, 0x33, 0x34, 0x44, 0xD5,
0x55, 0xD6, 0x6E, 0x22, 0x21, 0xA, 0xB1, 0x12, 0x22,
0x22, 0x22, 0x22, 0x11, 0x10, 0x0, 0xBB, 0x0, 0x0,
0x0, 0x2C, 0x77, 0x77, 0x77, 0x82, 0x2E, 0xE3, 0x33,
0x33, 0x34, 0x44, 0x44, 0x55, 0x55, 0xD6, 0x32, 0x22,
0x11, 0x9, 0x1, 0x2E, 0x21, 0x22, 0x22, 0xE2, 0x21,
0x10, 0x0, 0xBB, 0xB0, 0x0, 0x0, 0x13, 0xEE, 0x77,
0x88, 0xE2, 0x22, 0xE6, 0x63, 0x33, 0x44, 0x54, 0x55,
0x55, 0x55, 0xD6, 0x6E, 0x2E, 0x21, 0x0, 0x1, 0x2E,
0x82, 0x22, 0xEE, 0x33, 0x33, 0x39, 0x0, 0xB0, 0xB0,
0x0, 0x0, 0x1, 0x22, 0x22, 0x22, 0x22, 0xA2, 0xE3,
0x33, 0x34, 0x44, 0x55, 0x55, 0x55, 0x55, 0xD6, 0x69,
0x22, 0x1B, 0x1B, 0x11, 0x28, 0x88, 0xE2, 0xE6, 0x66,
0x63, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1,
0x11, 0x11, 0x11, 0x12, 0x2E, 0x33, 0x44, 0x45, 0x55,
0x54, 0x45, 0x55, 0xD6, 0x6E, 0x21, 0x11, 0x11, 0x12,
0xE7, 0x77, 0x88, 0x66, 0x86, 0x66, 0x32, 0x0, 0x0,
0x0, 0xB, 0x0, 0xB, 0x0, 0x0, 0x10, 0x0, 0x12,
0x22, 0x33, 0x44, 0x45, 0x55, 0x54, 0x45, 0x55, 0xD4,
0x66, 0xE2, 0x11, 0x11, 0x2E, 0x87, 0x77, 0x88, 0x67,
0x76, 0x66, 0x33, 0x10, 0x0, 0x0, 0x9, 0xB, 0x0,
0x0, 0x0, 0x0, 0x0, 0x11, 0x22, 0x33, 0x44, 0x45,
0x55, 0x55, 0x44, 0x55, 0x5D, 0xD6, 0x62, 0x22, 0x22,
0x2E, 0x87, 0x77, 0x78, 0x86, 0x76, 0x63, 0x33, 0x21,
0x11, 0x9, 0x0, 0xBB, 0x0, 0x0, 0x0, 0x0, 0x0,
0x1, 0x22, 0x3E, 0x34, 0x44, 0x45, 0x55, 0x44, 0x44,
0x44, 0x46, 0x63, 0xE2, 0x2E, 0xE6, 0x67, 0x77, 0x78,
0x22, 0x33, 0x33, 0x32, 0x22, 0x1A, 0x10, 0xBB, 0xA0,
0xB, 0xBB, 0xB0, 0x0, 0x0,
};
Gfx cube_render_tileable_space_texture_ci4_pal_rgba16_aligner[] = {gsSPEndDisplayList()};
u8 cube_render_tileable_space_texture_ci4_pal_rgba16[] = {
0x8, 0x3, 0x10, 0x5, 0x18, 0x45, 0x18, 0x47, 0x20,
0x4B, 0x30, 0x91, 0x20, 0x49, 0x38, 0x49, 0x20, 0x47,
0x18, 0xC5, 0x31, 0x8D, 0x8, 0x1, 0x39, 0x4D, 0x38,
0x4D, 0x20, 0x45, 0x60, 0x95,
};
Vtx cube_render_Cube_mesh_vtx_0[24] = {
{{{213, 213, -213},0, {-16, 2032},{0x0, 0x7F, 0x0, 0xFF}}},
{{{-213, 213, -213},0, {2032, 2032},{0x0, 0x7F, 0x0, 0xFF}}},
{{{-213, 213, 213},0, {2032, -16},{0x0, 0x7F, 0x0, 0xFF}}},
{{{213, 213, 213},0, {-16, -16},{0x0, 0x7F, 0x0, 0xFF}}},
{{{213, -213, 213},0, {-16, -16},{0x0, 0x0, 0x7F, 0xFF}}},
{{{213, 213, 213},0, {-16, 2032},{0x0, 0x0, 0x7F, 0xFF}}},
{{{-213, 213, 213},0, {2032, 2032},{0x0, 0x0, 0x7F, 0xFF}}},
{{{-213, -213, 213},0, {2032, -16},{0x0, 0x0, 0x7F, 0xFF}}},
{{{-213, -213, 213},0, {2032, 2032},{0x81, 0x0, 0x0, 0xFF}}},
{{{-213, 213, 213},0, {2032, -16},{0x81, 0x0, 0x0, 0xFF}}},
{{{-213, 213, -213},0, {-16, -16},{0x81, 0x0, 0x0, 0xFF}}},
{{{-213, -213, -213},0, {-16, 2032},{0x81, 0x0, 0x0, 0xFF}}},
{{{-213, -213, -213},0, {-16, 2032},{0x0, 0x81, 0x0, 0xFF}}},
{{{213, -213, -213},0, {2032, 2032},{0x0, 0x81, 0x0, 0xFF}}},
{{{213, -213, 213},0, {2032, -16},{0x0, 0x81, 0x0, 0xFF}}},
{{{-213, -213, 213},0, {-16, -16},{0x0, 0x81, 0x0, 0xFF}}},
{{{213, -213, -213},0, {-16, -16},{0x7F, 0x0, 0x0, 0xFF}}},
{{{213, 213, -213},0, {-16, 2032},{0x7F, 0x0, 0x0, 0xFF}}},
{{{213, 213, 213},0, {2032, 2032},{0x7F, 0x0, 0x0, 0xFF}}},
{{{213, -213, 213},0, {2032, -16},{0x7F, 0x0, 0x0, 0xFF}}},
{{{-213, -213, -213},0, {2032, 2032},{0x0, 0x0, 0x81, 0xFF}}},
{{{-213, 213, -213},0, {2032, -16},{0x0, 0x0, 0x81, 0xFF}}},
{{{213, 213, -213},0, {-16, -16},{0x0, 0x0, 0x81, 0xFF}}},
{{{213, -213, -213},0, {-16, 2032},{0x0, 0x0, 0x81, 0xFF}}},
};
Gfx cube_render_Cube_mesh_tri_0[] = {
gsSPVertex(cube_render_Cube_mesh_vtx_0 + 0, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(4, 6, 7, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSP1Triangle(12, 14, 15, 0),
gsSPVertex(cube_render_Cube_mesh_vtx_0 + 16, 8, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx mat_cube_render_sm64_material[] = {
gsDPPipeSync(),
gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, ENVIRONMENT, TEXEL0, 0, SHADE, 0, 0, 0, 0, ENVIRONMENT),
gsSPTexture(65535, 65535, 0, 0, 1),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cube_render_tileable_space_texture_ci4_pal_rgba16),
gsDPTileSync(),
gsDPSetTile(0, 0, 0, 256, 7, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0),
gsDPLoadSync(),
gsDPLoadTLUTCmd(7, 15),
gsDPPipeSync(),
gsDPTileSync(),
gsDPSetTextureImage(G_IM_FMT_CI, G_IM_SIZ_8b, 32, cube_render_tileable_space_texture_ci4),
gsDPSetTile(G_IM_FMT_CI, G_IM_SIZ_8b, 4, 0, 7, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, 0),
gsDPLoadSync(),
gsDPLoadTile(7, 0, 0, 126, 252),
gsDPPipeSync(),
gsDPSetTile(G_IM_FMT_CI, G_IM_SIZ_4b, 4, 0, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, 0),
gsDPSetTileSize(0, 0, 0, 252, 252),
gsSPEndDisplayList(),
};
Gfx mat_revert_cube_render_sm64_material[] = {
gsDPPipeSync(),
gsDPSetTextureLUT(G_TT_NONE),
gsSPEndDisplayList(),
};
Gfx cube_render_Cube_mesh[] = {
gsSPDisplayList(mat_cube_render_sm64_material),
gsSPDisplayList(cube_render_Cube_mesh_tri_0),
gsSPDisplayList(mat_revert_cube_render_sm64_material),
gsDPPipeSync(),
gsSPClearGeometryMode(G_TEXTURE_GEN),
gsDPSetCycleType(G_CYC_2CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2),
gsSPClearGeometryMode(0xFFFFFFFF),
gsDPSetDepthSource(G_ZS_PRIM),
gsDPSetPrimDepth(0, 0),
gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH | G_ZBUFFER),
gsSPClearGeometryMode(G_CULL_FRONT | G_CULL_BACK),
gsDPSetCombineLERP(0, 0, 0, SHADE, 0, 0, 0, ENVIRONMENT, 0, 0, 0, SHADE, 0, 0, 0, ENVIRONMENT),
gsSPTexture(65535, 65535, 0, 0, 0),
gsSPEndDisplayList(),
};