Revision e6129574
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/examples/predeform/PredeformEffectList.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.examples.predeform; |
21 | 21 |
|
22 |
import org.distorted.library.effect.Effect; |
|
22 |
import org.distorted.library.effect.VertexEffect;
|
|
23 | 23 |
|
24 | 24 |
import java.util.ArrayList; |
25 | 25 |
|
... | ... | |
27 | 27 |
|
28 | 28 |
public class PredeformEffectList |
29 | 29 |
{ |
30 |
private static ArrayList<Effect> mList = new ArrayList<>(); |
|
30 |
private static ArrayList<VertexEffect> mList = new ArrayList<>();
|
|
31 | 31 |
|
32 | 32 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
33 | 33 |
|
34 |
static void addNew(Effect effect) |
|
34 |
static void addNew(VertexEffect effect)
|
|
35 | 35 |
{ |
36 | 36 |
mList.add(effect); |
37 | 37 |
} |
... | ... | |
48 | 48 |
static void remove(long id) |
49 | 49 |
{ |
50 | 50 |
int size = mList.size(); |
51 |
Effect effect; |
|
51 |
VertexEffect effect;
|
|
52 | 52 |
|
53 | 53 |
for (int i=0; i<size; i++) |
54 | 54 |
{ |
... | ... | |
64 | 64 |
|
65 | 65 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
66 | 66 |
|
67 |
static ArrayList<Effect> getEffectList() |
|
67 |
static ArrayList<VertexEffect> getEffectList()
|
|
68 | 68 |
{ |
69 | 69 |
return mList; |
70 | 70 |
} |
Also available in: Unified diff
Progress with the Predeform app; deepCopy for the Meshes; various fixes.