154 Gfx* triangleDisplayList;
159 Gfx* whirlwindMainDisplayList;
191 for (i = 0; i <= (360 / 24); i++) {
192 Vtx* vtx = &vertexBuffer[i];
193 vtx->v.ob[0] =
cos_deg(i * (360 / 15)) * 100.0f;
195 vtx->v.ob[2] =
sin_deg(i * (360 / 15)) * 100.0f;
196 vtx->v.tc[0] = i * 128;
199 vtx = &vertexBuffer[i + (360 / 24 + 1)];
200 vtx->v.ob[0] =
cos_deg(i * (360 / 15)) * 100.0f;
202 vtx->v.ob[2] =
sin_deg(i * (360 / 15)) * 100.0f;
203 vtx->v.tc[0] = i * 512;
214 for (i = 0; i < 15; i++) {
215 gSP2Triangles(
gMainGfxPos++, i + 0x10, i + 1, i, 0, i + 0x10, i + 0x11, i + 1, 0);
236 var_f4 = data->
unk_98[i] * spB8;
238 var_f4 += (127 - primAlpha) * 0.02f;
240 guScaleF(sp60, var_f4, spB8, var_f4);
242 temp_f20_2 = data->
unk_F8[i] * 10.0f;
256 temp_f20_3 = data->
unk_F8[i] * 10.0f;
261 gSPVertex(
gMainGfxPos++, &vertexBuffer[16], 16, 16);
264 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, spB0 + i * 16, 0, (spB0 + i * 16 + 63) << 2, 31 << 2);
265 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE + 1, spB4 + i * 8, 0, (spB4 + i * 8 + 63) << 2, 31 << 2);
268 gSPDisplayList(
gMainGfxPos++, triangleDisplayList);
280 gSPDisplayList(
gMainGfxPos++, whirlwindMainDisplayList);