Revision 86b434a0
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/type/Dynamic1D.java | ||
---|---|---|
426 | 426 |
break; |
427 | 427 |
case MODE_PATH: segment = (int)(2*t*(numPoints-1)); |
428 | 428 |
|
429 |
if( t<=0.5f )
|
|
429 |
if( t<0.5f ) |
|
430 | 430 |
{ |
431 | 431 |
time = 2*t*(numPoints-1); |
432 | 432 |
vecCurr = segment; |
Also available in: Unified diff
Bugfix (sometimes, when t=0.5 exactly, it wouldn't recompute Noise in case of PATH mode)