Revision 15aa7d94
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/effect/FragmentEffectContrast.java | ||
---|---|---|
66 | 66 |
mStatic0 = (Static1D)contrast; |
67 | 67 |
} |
68 | 68 |
} |
69 |
|
|
70 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
71 |
|
|
72 |
public boolean compute(float[] uniforms, int index, long currentDuration, long step ) |
|
73 |
{ |
|
74 |
if( mDynamic0!=null ) |
|
75 |
{ |
|
76 |
return mDynamic0.interpolateMain(uniforms,index,currentDuration,step); |
|
77 |
} |
|
78 |
else |
|
79 |
{ |
|
80 |
uniforms[index] = ((Static1D)mStatic0).getX(); |
|
81 |
return false; |
|
82 |
} |
|
83 |
} |
|
69 | 84 |
} |
Also available in: Unified diff
Progress with support for Effect classes.