282 s32 type = part->
type;
297 for (i = 1; i < ((
EffectInstance*)effect)->numParts; i++, part++) {
298 f32 temp = part->
alpha / 255.0f;
310 guMtxCatF(mtxTemp, mtxTranslate, mtxTransform);
313 unk_64 = part->
rot.
z;
315 angleZ = unk_64 + 45.0f;
317 angleZ = unk_64 + 0.0f;
320 guRotateF(mtxTemp, angleZ, 0.0f, 0.0f, 1.0f);
321 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
323 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
325 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
327 scaleX = scaleZ = (temp + 3.0f) * 0.25;
344 guScaleF(mtxTemp, scaleX, scaleY, scaleZ);
345 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
350 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
352 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
354 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
void light_rays_main(s32 type, f32 posX, f32 posY, f32 posZ, f32 scale, EffectInstance **outEffect)