Revision da9b3f07
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/effect/MatrixEffectShear.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
public class MatrixEffectShear extends MatrixEffect |
29 | 29 |
{ |
30 |
private static final String NAME = "SHEAR"; |
|
31 |
private static final float[] UNITIES = new float[] {0.0f,0.0f,0.0f}; |
|
32 |
private static final int DIMENSION = 3; |
|
30 |
private static final float[] UNITIES = new float[] {0.0f,0.0f,0.0f}; |
|
31 |
private static final int DIMENSION = 3; |
|
33 | 32 |
private static final boolean SUPPORTS_CENTER = true; |
34 | 33 |
private static final boolean SUPPORTS_REGION = false; |
35 | 34 |
|
... | ... | |
45 | 44 |
*/ |
46 | 45 |
public MatrixEffectShear(Data3D shear, Data3D center) |
47 | 46 |
{ |
48 |
super(SHEAR,UNITIES,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,NAME);
|
|
47 |
super(EffectName.SHEAR,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,UNITIES);
|
|
49 | 48 |
|
50 | 49 |
if( shear instanceof Static3D) |
51 | 50 |
{ |
Also available in: Unified diff
Progress with support for Effect classes.
The library compiles now!