Revision 310e14fb
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/effect/FragmentEffect.java | ||
---|---|---|
24 | 24 |
import org.distorted.library.type.Static; |
25 | 25 |
|
26 | 26 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
27 |
// FRAGMENT EFFECTS |
|
28 |
// 8 Uniforms: 4-per effect interpolated values, 4 dimensional Region. |
|
27 | 29 |
|
28 | 30 |
public abstract class FragmentEffect extends Effect |
29 | 31 |
{ |
... | ... | |
65 | 67 |
|
66 | 68 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
67 | 69 |
|
68 |
static boolean isUnity(int name, float[] buffer, int index) |
|
70 |
public static boolean isUnity(int name, float[] buffer, int index)
|
|
69 | 71 |
{ |
70 | 72 |
switch(mUnityDim[name]) |
71 | 73 |
{ |
Also available in: Unified diff
Some progress with Effect classes.
Big mess - nothing compiles now; classes moved around.