Revision 807775b9
Added by Leszek Koltunski about 8 years ago
src/main/java/org/distorted/examples/flag/FlagRenderer.java | ||
---|---|---|
27 | 27 |
import org.distorted.examples.R; |
28 | 28 |
import org.distorted.library.Distorted; |
29 | 29 |
import org.distorted.library.DistortedBitmap; |
30 |
import org.distorted.library.DistortedCubes; |
|
30 | 31 |
import org.distorted.library.DistortedObject; |
31 | 32 |
import org.distorted.library.EffectTypes; |
32 | 33 |
import org.distorted.library.type.DynamicQuat; |
... | ... | |
58 | 59 |
{ |
59 | 60 |
mView = v; |
60 | 61 |
|
61 |
mObject = new DistortedBitmap(100,60,30);
|
|
62 |
mObject = new DistortedCubes(50,30,10,false);
|
|
62 | 63 |
|
63 | 64 |
mObjWidth = mObject.getWidth(); |
64 | 65 |
mObjHeight= mObject.getHeight(); |
Also available in: Unified diff
New constructor to DistortedCubes - easily create a hole-less Cuboid.