Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renderer: in wave mode 2 and 3, wave_x was used where it should be wa…

…ve_y

Surprisingly, the effect of this is almost imperceptible. It's perhaps
most visible in Tornado Rain Dance, where midi3 now moves the wave
along the x axis instead of a diagonal.
  • Loading branch information...
commit 422f17b87cef3ccd98640fe955370a8c8ce95e85 1 parent 0e5f809
@wpwrak wpwrak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/renderer/raster.c
View
2  src/renderer/raster.c
@@ -221,7 +221,7 @@ static int wave_mode_23(struct frame_descriptor *frd, struct wave_vertex *vertic
s2 = samples[8*i+32+1]/32768.0;
vertices[i].x = (s1*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
- vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
+ vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_y)*renderer_texsize;
}
return nvertices;
Please sign in to comment.
Something went wrong with that request. Please try again.