Revision bf36cb6e
Added by Leszek Koltunski about 8 years ago
src/main/java/org/distorted/examples/dynamic/DynamicSurfaceView.java | ||
---|---|---|
93 | 93 |
mNoise2 = 0.0f; |
94 | 94 |
|
95 | 95 |
di1D = new Dynamic1D(mDuration,0.5f); |
96 |
p1N = new Static1D(mNoise0); |
|
97 |
di1D.setNoise(p1N); |
|
98 |
|
|
96 |
p1N = new Static1D(mNoise0); |
|
99 | 97 |
di2D = new Dynamic2D(mDuration,0.5f); |
100 |
p2N = new Static2D(mNoise0,mNoise1); |
|
101 |
di2D.setNoise(p2N); |
|
102 |
|
|
98 |
p2N = new Static2D(mNoise0,mNoise1); |
|
103 | 99 |
di3D = new Dynamic3D(mDuration,0.5f); |
104 |
p3N = new Static3D(mNoise0,mNoise1,mNoise2); |
|
105 |
di3D.setNoise(p3N); |
|
106 |
|
|
100 |
p3N = new Static3D(mNoise0,mNoise1,mNoise2); |
|
101 |
|
|
107 | 102 |
if(!isInEditMode()) |
108 | 103 |
{ |
109 | 104 |
setFocusable(true); |
Also available in: Unified diff
minor