Revision d218d64e
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/deform/DeformRenderer.java | ||
---|---|---|
25 | 25 |
import org.distorted.library.Distorted; |
26 | 26 |
import org.distorted.library.DistortedEffects; |
27 | 27 |
import org.distorted.library.DistortedFramebuffer; |
28 |
import org.distorted.library.DistortedScreen; |
|
28 | 29 |
import org.distorted.library.DistortedTexture; |
29 | 30 |
import org.distorted.library.MeshObject; |
30 | 31 |
import org.distorted.library.MeshFlat; |
... | ... | |
54 | 55 |
private DistortedTexture fpsTexture, stretchTexture; |
55 | 56 |
private DistortedEffects fpsEffects, stretchEffects; |
56 | 57 |
private MeshObject fpsMesh, stretchMesh; |
57 |
private DistortedFramebuffer mScreen;
|
|
58 |
private DistortedScreen mScreen;
|
|
58 | 59 |
private Static3D touchPoint; |
59 | 60 |
|
60 | 61 |
private Dynamic3D mReleasedDistortDynamic; |
... | ... | |
151 | 152 |
|
152 | 153 |
mMovingShearDynamic.add(vShear[0]); |
153 | 154 |
|
154 |
mScreen = new DistortedFramebuffer(0);
|
|
155 |
mScreen = new DistortedScreen();
|
|
155 | 156 |
} |
156 | 157 |
|
157 | 158 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.