Project

General

Profile

« Previous | Next » 

Revision 067912f8

Added by Leszek Koltunski over 5 years ago

Add the 'convexity' param to Dynamics and the Dynamic app.

View differences:

src/main/java/org/distorted/effect/UnscrambleEffectSpin.java
41 41
    Dynamic1D d0 = new Dynamic1D(duration/2, 1.0f);
42 42
    d0.setMode(Dynamic.MODE_JUMP);
43 43
    d0.add(new Static1D( 0*36));
44
    /*
44

  
45 45
    d0.add(new Static1D( 1*36));
46 46
    d0.add(new Static1D( 3*36));
47 47
    d0.add(new Static1D( 6*36));
48
    */
48

  
49 49
    d0.add(new Static1D(10*36));
50 50
    mCubeEffects[0][0] = new MatrixEffectRotate(d0,axis,center);
51 51
    }
......
63 63
    Dynamic1D d1 = new Dynamic1D(duration/2, 1.0f);
64 64
    d1.setMode(Dynamic.MODE_JUMP);
65 65
    d1.add(new Static1D( 0*36));
66
    /*
66

  
67 67
    d1.add(new Static1D( 4*36));
68 68
    d1.add(new Static1D( 7*36));
69 69
    d1.add(new Static1D( 9*36));
70
    */
70

  
71 71
    d1.add(new Static1D(10*36));
72 72
    mCubeEffects[1][0] = new MatrixEffectRotate(d1,axis,center);
73 73
    }

Also available in: Unified diff