Revision b455eb48
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/Distorted.java | ||
---|---|---|
75 | 75 |
*/ |
76 | 76 |
public static final int CLONE_FRAGMENT= 0x8; |
77 | 77 |
/** |
78 |
* When creating an instance of a DistortedNode from another instance, clone the children Nodes.
|
|
78 |
* When creating an instance of a DistortedObjectTree from another instance, clone the children Nodes.
|
|
79 | 79 |
* <p> |
80 | 80 |
* This is mainly useful for creating many similar sub-trees of Bitmaps and rendering then at different places |
81 | 81 |
* on the screen, with (optionally) different effects of the top-level root Bitmap. |
... | ... | |
355 | 355 |
GLES20.glEnableVertexAttribArray(mTextureCoordH); |
356 | 356 |
|
357 | 357 |
DistortedObject.reset(); |
358 |
DistortedNode.reset();
|
|
358 |
DistortedObjectTree.reset();
|
|
359 | 359 |
EffectMessageSender.startSending(); |
360 | 360 |
} |
361 | 361 |
|
... | ... | |
381 | 381 |
{ |
382 | 382 |
DistortedObject.release(); |
383 | 383 |
DistortedFramebuffer.release(); |
384 |
DistortedNode.release();
|
|
384 |
DistortedObjectTree.release();
|
|
385 | 385 |
EffectQueue.release(); |
386 | 386 |
EffectMessageSender.stopSending(); |
387 | 387 |
|
Also available in: Unified diff
Rename various classes; fix a bug in Around the World.