Revision d218d64e
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/projection/ProjectionRenderer.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.MeshFlat; |
29 | 30 |
import org.distorted.library.DistortedTexture; |
30 | 31 |
import org.distorted.library.type.Static3D; |
... | ... | |
44 | 45 |
private GLSurfaceView mView; |
45 | 46 |
private DistortedTexture mTexture; |
46 | 47 |
private DistortedEffects mEffects; |
47 |
private DistortedFramebuffer mScreen;
|
|
48 |
private DistortedScreen mScreen;
|
|
48 | 49 |
private MeshFlat mMesh; |
49 | 50 |
|
50 | 51 |
private float mF, mX, mY; |
... | ... | |
56 | 57 |
{ |
57 | 58 |
mView = view; |
58 | 59 |
mEffects= new DistortedEffects(); |
59 |
mScreen = new DistortedFramebuffer(0);
|
|
60 |
mScreen = new DistortedScreen();
|
|
60 | 61 |
} |
61 | 62 |
|
62 | 63 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.