Revision 86b434a0
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/type/Dynamic3D.java | ||
---|---|---|
490 | 490 |
break; |
491 | 491 |
case MODE_PATH: segment = (int)(2*t*(numPoints-1)); |
492 | 492 |
|
493 |
if( t<=0.5f )
|
|
493 |
if( t<0.5f ) |
|
494 | 494 |
{ |
495 | 495 |
time = 2*t*(numPoints-1); |
496 | 496 |
vecCurr = segment; |
Also available in: Unified diff
Bugfix (sometimes, when t=0.5 exactly, it wouldn't recompute Noise in case of PATH mode)