Revision da9b3f07
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
public class PostprocessEffectGlow extends PostprocessEffect |
32 | 32 |
{ |
33 |
private static final String NAME = "GLOW"; |
|
34 |
private static final float[] UNITIES = new float[] {0.0f}; |
|
35 |
private static final int DIMENSION = 5; |
|
33 |
private static final float[] UNITIES = new float[] {0.0f}; |
|
34 |
private static final int DIMENSION = 5; |
|
36 | 35 |
private static final boolean SUPPORTS_CENTER = false; |
37 | 36 |
private static final boolean SUPPORTS_REGION = false; |
38 | 37 |
|
... | ... | |
46 | 45 |
*/ |
47 | 46 |
public PostprocessEffectGlow(Data1D radius, Data4D color) |
48 | 47 |
{ |
49 |
super(GLOW,UNITIES,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,NAME);
|
|
48 |
super(EffectName.GLOW,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,UNITIES);
|
|
50 | 49 |
|
51 | 50 |
if( radius instanceof Dynamic1D) |
52 | 51 |
{ |
Also available in: Unified diff
Progress with support for Effect classes.
The library compiles now!