Project

General

Profile

« Previous | Next » 

Revision 20156af7

Added by Leszek Koltunski over 5 years ago

Important bugfix in MeshCubes for the Inflate vectors.

View differences:

src/main/java/org/distorted/library/main/EffectQueueMatrix.java
107 107
    // Here we need a bit more because we are marking not only the halo, but a little bit around
108 108
    // it as well so that the (blur for example) will be smooth on the edges. Thus the 2.0f.
109 109
    //
110
    // mMipmap ( 1.0 , 0.5, 0.25, 0.125 ) - we need to make the size of the halo independent
110
    // mMipmap ( 1.0, 0.5, 0.25, 0.125 ) - we need to make the size of the halo independent
111 111
    // of postprocessing effect quality.
112 112

  
113 113
    return projection.mMipmap*2.0f*marginInPixels/( xLenInPixels>yLenInPixels ? yLenInPixels:xLenInPixels );

Also available in: Unified diff