Revision 1f9a52f1
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/matrix3d/Matrix3DRenderer.java | ||
---|---|---|
46 | 46 |
mView = v; |
47 | 47 |
Matrix3DActivity act = (Matrix3DActivity)v.getContext(); |
48 | 48 |
mTexture= act.getTexture(); |
49 |
mScreen = new DistortedScreen(); |
|
49 |
mScreen = new DistortedScreen(mView);
|
|
50 | 50 |
mScreen.attach(mTexture,act.getEffects(),act.getMesh()); |
51 | 51 |
mScreen.setProjection(60.0f,0.1f); |
52 | 52 |
} |
Also available in: Unified diff
Simplify setting up DistortedScreen.