mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-02 22:14:33 +00:00
OnePointDemo OK (#719)
* matches * more matches * progress? * it's time * so close * organize declarations * docs * more fixes * more fixes * fix stage 1 * more fixes * first try * demo ids in decimal * final cleanup * one more thing * fixes * more cleanup * onepointcs * OnePointCutscene Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
28cfd82a4f
commit
9b4482314a
233 changed files with 3949 additions and 7571 deletions
|
@ -357,9 +357,9 @@ void EnEncount2_ParticleDraw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
for (i = 0; i < ARRAY_COUNT(this->particles); particle++, i++) {
|
||||
if (particle->isAlive) {
|
||||
Matrix_Translate(particle->pos.x, particle->pos.y, particle->pos.z, MTXMODE_NEW);
|
||||
Matrix_RotateX(particle->rot.x * (M_PI / 180), MTXMODE_APPLY);
|
||||
Matrix_RotateY(particle->rot.y * (M_PI / 180), MTXMODE_APPLY);
|
||||
Matrix_RotateZ(particle->rot.z * (M_PI / 180), MTXMODE_APPLY);
|
||||
Matrix_RotateX(particle->rot.x * (M_PI / 180.0f), MTXMODE_APPLY);
|
||||
Matrix_RotateY(particle->rot.y * (M_PI / 180.0f), MTXMODE_APPLY);
|
||||
Matrix_RotateZ(particle->rot.z * (M_PI / 180.0f), MTXMODE_APPLY);
|
||||
Matrix_Scale(particle->scale, particle->scale, particle->scale, MTXMODE_APPLY);
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 255, 155, 55, 255);
|
||||
gDPSetEnvColor(POLY_OPA_DISP++, 155, 255, 55, 255);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue