Project

General

Profile

« Previous | Next » 

Revision 2010c6f7

Added by Leszek Koltunski over 4 years ago

Adjust the app to match the changes in library.

Looks like we'll have to add 1 dim to the GLOW effect.

View differences:

src/main/java/org/distorted/effects/win/WinEffectGlow.java
44 44

  
45 45
    Dynamic1D radiusDyn = new Dynamic1D(duration,1.0f);
46 46
    radiusDyn.add(new Static1D( 0));
47
    radiusDyn.add(new Static1D(50));
47
    radiusDyn.add(new Static1D(12));
48 48
    radiusDyn.add(new Static1D( 0));
49 49

  
50 50
    Dynamic4D color= new Dynamic4D(duration,1.0f);
......
58 58

  
59 59
    Dynamic1D degreeDyn= new Dynamic1D(duration,1.0f);
60 60
    degreeDyn.add(new Static1D(1.0f));
61
    degreeDyn.add(new Static1D(1.2f));
61
    degreeDyn.add(new Static1D(1.5f));
62 62
    degreeDyn.add(new Static1D(1.0f));
63 63

  
64
    mNodeEffects[1] = new VertexEffectSink(degreeDyn,new Static3D(0,0,0));
64
    mNodeEffects[1] = new VertexEffectSink(degreeDyn,new Static3D(0,0,0), new Static4D(0,0,0,0.5f) );
65 65
    }
66 66

  
67 67
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff