Revision d218d64e
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/quaternion/QuaternionRenderer.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
import org.distorted.library.DistortedEffects; |
32 | 32 |
import org.distorted.library.DistortedFramebuffer; |
33 |
import org.distorted.library.DistortedScreen; |
|
33 | 34 |
import org.distorted.library.EffectTypes; |
34 | 35 |
import org.distorted.library.type.Dynamic; |
35 | 36 |
import org.distorted.library.type.DynamicQuat; |
... | ... | |
53 | 54 |
private GLSurfaceView mView; |
54 | 55 |
private DistortedTexture mTexture; |
55 | 56 |
private DistortedEffects mEffects; |
56 |
private DistortedFramebuffer mScreen;
|
|
57 |
private DistortedScreen mScreen;
|
|
57 | 58 |
private MeshCubes mMesh; |
58 | 59 |
private DynamicQuat mRot; |
59 | 60 |
|
... | ... | |
86 | 87 |
mRot.setDuration(8000); |
87 | 88 |
mRot.setMode(Dynamic.MODE_LOOP); |
88 | 89 |
|
89 |
mScreen = new DistortedFramebuffer(0);
|
|
90 |
mScreen = new DistortedScreen();
|
|
90 | 91 |
} |
91 | 92 |
|
92 | 93 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.