Revision f988589e
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/movingeffects/MovingEffectsSurfaceView.java | ||
---|---|---|
79 | 79 |
mPaint.setStyle(Style.FILL); |
80 | 80 |
moving = -1; |
81 | 81 |
|
82 |
di2D = new Dynamic2D(); |
|
83 |
di2D.setCount(0.0f); |
|
84 |
di2D.setDuration(LOOP_TIME); |
|
85 |
|
|
86 |
dr = new Static4D(0,0,60,60); |
|
87 |
|
|
88 |
mRegion = new Dynamic4D(); |
|
89 |
mRegion.setCount(0); |
|
90 |
mRegion.setDuration(LOOP_TIME); |
|
82 |
di2D = new Dynamic2D(LOOP_TIME,0.0f); |
|
83 |
mRegion = new Dynamic4D(LOOP_TIME,0.0f); |
|
84 |
dr = new Static4D(0,0,60,60); |
|
91 | 85 |
|
92 | 86 |
if(!isInEditMode()) |
93 | 87 |
{ |
Also available in: Unified diff
Further reduce the distortedObject's API - now only 26 methods, 1/4 of the 104 before the reorganization.