mirror of
				https://github.com/stevenrobertson/cuburn.git
				synced 2025-10-31 01:10:43 -04:00 
			
		
		
		
	fixed some missing ; in the variation code.
This commit is contained in:
		| @ -547,7 +547,7 @@ var(56, 'boarders', """ | |||||||
| var(57, 'butterfly', """ | var(57, 'butterfly', """ | ||||||
|     /* wx is weight*4/sqrt(3*pi) */ |     /* wx is weight*4/sqrt(3*pi) */ | ||||||
|     float wx = w * 1.3029400317411197908970256609023f; |     float wx = w * 1.3029400317411197908970256609023f; | ||||||
|     float y2 = ty * 2.0f |     float y2 = ty * 2.0f; | ||||||
|     float r = wx * sqrtf(fabsf(ty * tx)/(tx*tx + y2*y2)); |     float r = wx * sqrtf(fabsf(ty * tx)/(tx*tx + y2*y2)); | ||||||
|     ox += r * tx; |     ox += r * tx; | ||||||
|     oy += r * y2; |     oy += r * y2; | ||||||
| @ -591,7 +591,7 @@ var(58, 'cell', """ | |||||||
| var(59, 'cpow', """ | var(59, 'cpow', """ | ||||||
|     float a = atan2f(ty, tx); |     float a = atan2f(ty, tx); | ||||||
|     float lnr = 0.5f * logf(sqrtf(tx*tx+ty*ty)); |     float lnr = 0.5f * logf(sqrtf(tx*tx+ty*ty)); | ||||||
|     float power = {{px.get('xf.cpow_power')}} |     float power = {{px.get('xf.cpow_power')}}; | ||||||
|     float va = 2.0f * M_PI / power; |     float va = 2.0f * M_PI / power; | ||||||
|     float vc = {{px.get('xf.cpow_r')}} / power; |     float vc = {{px.get('xf.cpow_r')}} / power; | ||||||
|     float vd = {{px.get('xf.cpow_i')}} / power; |     float vd = {{px.get('xf.cpow_i')}} / power; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Erik Reckase
					Erik Reckase