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