mirror of
				https://github.com/stevenrobertson/cuburn.git
				synced 2025-11-03 18:00:55 -05:00 
			
		
		
		
	fixed super_shape
This commit is contained in:
		@ -458,7 +458,7 @@ var(50, 'super_shape', """
 | 
				
			|||||||
    float d = sqrtf(tx*tx+ty*ty);
 | 
					    float d = sqrtf(tx*tx+ty*ty);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    float r = w * ((myrnd*mwc_next_01(rctx) + (1.0f-myrnd)*d) - {{px.get('xf.super_shape_holes')}})
 | 
					    float r = w * ((myrnd*mwc_next_01(rctx) + (1.0f-myrnd)*d) - {{px.get('xf.super_shape_holes')}})
 | 
				
			||||||
                * powf(t1+t2, {{px.get('-1.0 / xf.super_shape_holes', 'super_shape_pneg')}}) / d;
 | 
					                * powf(t1+t2, {{px.get('-1.0 / xf.super_shape_n1', 'super_shape_pneg')}}) / d;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ox += r * tx;
 | 
					    ox += r * tx;
 | 
				
			||||||
    oy += r * ty;
 | 
					    oy += r * ty;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user