Revision 86b434a0
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/type/Dynamic5D.java | ||
---|---|---|
529 | 529 |
break; |
530 | 530 |
case MODE_PATH: segment = (int)(2*t*(numPoints-1)); |
531 | 531 |
|
532 |
if( t<=0.5f )
|
|
532 |
if( t<0.5f ) |
|
533 | 533 |
{ |
534 | 534 |
time = 2*t*(numPoints-1); |
535 | 535 |
vecCurr = segment; |
Also available in: Unified diff
Bugfix (sometimes, when t=0.5 exactly, it wouldn't recompute Noise in case of PATH mode)