Revision c5b1451b
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/DistortedNode.java | ||
---|---|---|
248 | 248 |
|
249 | 249 |
if( newList.size()>1 && mData.mProjection==null ) |
250 | 250 |
{ |
251 |
mData.mProjection = new DistortedProjection(true);
|
|
251 |
mData.mProjection = new DistortedProjection(); |
|
252 | 252 |
mData.mProjection.onSurfaceChanged(mObject.getWidth(), mObject.getHeight()); |
253 | 253 |
mData.mFramebufferID = 0; |
254 | 254 |
mData.mTextureID = TEXTURE_NOT_CREATED_YET; |
Also available in: Unified diff
Remove the 'invert' option from DistortedProjection - this was making the DistortedNode-based apps not show the Objects, because the winding of triangles was wrong.
Now however the DistortedNode based stuff is inverted top-down :)