Revision 10b7e588
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/matrix3d/Matrix3DActivity.java | ||
---|---|---|
32 | 32 |
|
33 | 33 |
import org.distorted.examples.R; |
34 | 34 |
import org.distorted.library.Distorted; |
35 |
import org.distorted.library.DistortedObjectGrid;
|
|
36 |
import org.distorted.library.DistortedCubesGrid;
|
|
35 |
import org.distorted.library.GridObject;
|
|
36 |
import org.distorted.library.GridCubes;
|
|
37 | 37 |
import org.distorted.library.DistortedObject; |
38 | 38 |
import org.distorted.library.EffectNames; |
39 | 39 |
import org.distorted.library.EffectTypes; |
... | ... | |
47 | 47 |
public class Matrix3DActivity extends Activity implements AdapterView.OnItemSelectedListener |
48 | 48 |
{ |
49 | 49 |
private DistortedObject mObject; |
50 |
private DistortedObjectGrid mGrid;
|
|
50 |
private GridObject mGrid;
|
|
51 | 51 |
|
52 | 52 |
private ArrayList<Matrix3DEffect> mEffects; |
53 | 53 |
private int mEffectAdd; |
... | ... | |
67 | 67 |
|
68 | 68 |
createEffectNames(); |
69 | 69 |
|
70 |
mGrid = new DistortedCubesGrid(1,1,false);
|
|
70 |
mGrid = new GridCubes(1,1,false);
|
|
71 | 71 |
mObject = new DistortedObject(100,100,100); |
72 | 72 |
|
73 | 73 |
setEffectView(); |
... | ... | |
106 | 106 |
|
107 | 107 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
108 | 108 |
|
109 |
public DistortedObjectGrid getGrid()
|
|
109 |
public GridObject getGrid()
|
|
110 | 110 |
{ |
111 | 111 |
return mGrid; |
112 | 112 |
} |
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.