Project

General

Profile

« Previous | Next » 

Revision 1942537e

Added by Leszek Koltunski over 7 years ago

Major restructuring with DistortedTexture. One now is able to create Textures anywhere, even from a thread which does not hold the OpenGL context. Same for DistortedFramebuffers.

View differences:

src/main/java/org/distorted/library/GridObject.java
35 35
   protected int dataLength;
36 36
   protected FloatBuffer mGridPositions,mGridNormals,mGridTexture;
37 37

  
38
   final float zFactor; // strange workaround the fact that we need to somehow store the 'depth'
38
   final float zFactor; // strange workaround for the fact that we need to somehow store the 'depth'
39 39
                        // of the Grid. Used in DistortedEffectQueues. See DistortedTexture.getDepth().
40 40

  
41 41
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff