Revision ba740a0c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/effect/win/WinEffectGlow.java | ||
---|---|---|
28 | 28 |
import org.distorted.library.type.Static3D; |
29 | 29 |
import org.distorted.library.type.Static4D; |
30 | 30 |
|
31 |
import static org.distorted.magic.RubikRenderer.NODE_MESH_SIZE; |
|
32 |
|
|
33 | 31 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
34 | 32 |
|
35 | 33 |
public class WinEffectGlow extends WinEffect |
... | ... | |
60 | 58 |
|
61 | 59 |
Dynamic1D degreeDyn= new Dynamic1D(duration,1.0f); |
62 | 60 |
degreeDyn.add(new Static1D(1.0f)); |
63 |
degreeDyn.add(new Static1D(2.5f));
|
|
61 |
degreeDyn.add(new Static1D(1.2f));
|
|
64 | 62 |
degreeDyn.add(new Static1D(1.0f)); |
65 | 63 |
|
66 |
Static3D center = new Static3D(0,0,NODE_MESH_SIZE *0.5f); |
|
67 |
mNodeEffects[1] = new VertexEffectSink(degreeDyn,center); |
|
64 |
mNodeEffects[1] = new VertexEffectSink(degreeDyn,new Static3D(0,0,0)); |
|
68 | 65 |
} |
69 | 66 |
|
70 | 67 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.