Project

General

Profile

« Previous | Next » 

Revision da9b3f07

Added by Leszek Koltunski almost 7 years ago

Progress with support for Effect classes.

The library compiles now!

View differences:

src/main/java/org/distorted/library/effect/MatrixEffectMove.java
27 27

  
28 28
public class MatrixEffectMove extends MatrixEffect
29 29
  {
30
  private static final String NAME = "MOVE";
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 = false;
34 33
  private static final boolean SUPPORTS_REGION = false;
35 34

  
......
42 41
 */
43 42
  public MatrixEffectMove(Data3D vector)
44 43
    {
45
    super(MOVE,UNITIES,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,NAME);
44
    super(EffectName.MOVE,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,UNITIES);
46 45

  
47 46
    if( vector instanceof Static3D)
48 47
      {

Also available in: Unified diff