Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Werner Almesberger authored December 30, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/renderer/raster.c
2  src/renderer/raster.c
@@ -221,7 +221,7 @@ static int wave_mode_23(struct frame_descriptor *frd, struct wave_vertex *vertic
221 221
 		s2 = samples[8*i+32+1]/32768.0;
222 222
 
223 223
 		vertices[i].x = (s1*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
224  
-		vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
  224
+		vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_y)*renderer_texsize;
225 225
 	}
226 226
 
227 227
 	return nvertices;

0 notes on commit 422f17b

Please sign in to comment.
Something went wrong with that request. Please try again.