Revision 9a316d92
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/TwistyObject.java | ||
---|---|---|
215 | 215 |
mTexture = new DistortedTexture(); |
216 | 216 |
mEffects = new DistortedEffects(); |
217 | 217 |
|
218 |
createTexture(); |
|
219 |
|
|
218 | 220 |
for(int q=0; q<NUM_QUATS; q++) |
219 | 221 |
{ |
220 | 222 |
VertexEffectQuaternion vq = new VertexEffectQuaternion(OBJECT_QUATS[q],CENTER); |
... | ... | |
883 | 885 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
884 | 886 |
// the getFaceColors + final black in a grid (so that we do not exceed the maximum texture size) |
885 | 887 |
|
886 |
public void createTexture()
|
|
888 |
private void createTexture()
|
|
887 | 889 |
{ |
888 | 890 |
Bitmap bitmap; |
889 | 891 |
|
Also available in: Unified diff
Simplify TwistyObject's API.