Revision 48017ca2
Added by Leszek Koltunski over 8 years ago
| src/main/java/org/distorted/examples/projection/ProjectionRenderer.java | ||
|---|---|---|
| 141 | 141 |
// likewise with the Mesh |
| 142 | 142 |
if( mMesh!=null ) mMesh.markForDeletion(); |
| 143 | 143 |
|
| 144 |
mMesh = new MeshFlat(50,50*height/width);
|
|
| 144 |
mMesh = new MeshFlat(100,100*height/width);
|
|
| 145 | 145 |
|
| 146 | 146 |
mScreen.detachAll(); |
| 147 | 147 |
mScreen.attach(mTexture,mEffects,mMesh); |
Also available in: Unified diff
Bugfix in RenderState