Revision f988589e
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/scratchpad/ScratchpadSurfaceView.java | ||
---|---|---|
60 | 60 |
mDuration = 10000; |
61 | 61 |
mCount = 1.0f; |
62 | 62 |
|
63 |
mInterD = new Dynamic3D(); |
|
64 |
mInterD.setDuration(mDuration); |
|
65 |
mInterD.setCount(mCount); |
|
63 |
mInterD = new Dynamic3D(mDuration,mCount); |
|
66 | 64 |
|
67 | 65 |
int h = 30; |
68 | 66 |
int r = 20; |
... | ... | |
77 | 75 |
mInterD.add(v2); |
78 | 76 |
mInterD.add(v3); |
79 | 77 |
|
80 |
mInterA = new Dynamic1D(); |
|
81 |
mInterA.setDuration(mDuration); |
|
82 |
mInterA.setCount(mCount); |
|
78 |
mInterA = new Dynamic1D(mDuration,mCount); |
|
83 | 79 |
mInterA.add(new Static1D(1)); |
84 | 80 |
mInterA.add(new Static1D(0)); |
85 | 81 |
|
86 |
mInterS = new Dynamic1D(); |
|
87 |
mInterS.setDuration(mDuration); |
|
88 |
mInterS.setCount(mCount); |
|
82 |
mInterS = new Dynamic1D(mDuration,mCount); |
|
89 | 83 |
mInterS.add(new Static1D(1.0f)); |
90 | 84 |
mInterS.add(new Static1D(0.3f)); |
91 | 85 |
|
92 |
mInterB = new Dynamic1D(); |
|
93 |
mInterB.setDuration(mDuration); |
|
94 |
mInterB.setCount(mCount); |
|
86 |
mInterB = new Dynamic1D(mDuration,mCount); |
|
95 | 87 |
mInterB.add(new Static1D(1)); |
96 | 88 |
mInterB.add(new Static1D(0)); |
97 | 89 |
|
98 |
mInterM = new Dynamic1D(); |
|
99 |
mInterM.setDuration(mDuration); |
|
100 |
mInterM.setCount(mCount); |
|
90 |
mInterM = new Dynamic1D(mDuration,mCount); |
|
101 | 91 |
mInterM.add(new Static1D(1)); |
102 | 92 |
mInterM.add(new Static1D(10)); |
103 | 93 |
|
Also available in: Unified diff
Further reduce the distortedObject's API - now only 26 methods, 1/4 of the 104 before the reorganization.