Skip to content

Commit

Permalink
WaveMode 10 can now rotate via mystery parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialIncubo committed Nov 18, 2022
1 parent e3dc16c commit 653fda8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vis_milk2/milkdropfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,7 @@ void CPlugin::DrawWave(float *fL, float *fR)
//color = D3DCOLOR_RGBA_01(cr, cg, cb, alpha);

{
float ang = -0.75; // from -PI/2 to PI/2
float ang = -0.75 + fWaveParam2*3.15; // from -PI/2 to PI/2
float dx = cosf(ang);
float dy = sinf(ang);

Expand Down Expand Up @@ -3370,7 +3370,7 @@ void CPlugin::DrawWave(float *fL, float *fR)

////////////////\\\\\\\\\\\\\\\\\\\\\
float ang3 = 0.75; // from -PI/2 to PI/2
float ang3 = 0.75 + fWaveParam2*3.15; // from -PI/2 to PI/2
float dx3 = cosf(ang3);
float dy3 = sinf(ang3);

Expand Down

0 comments on commit 653fda8

Please sign in to comment.