Project

General

Profile

« Previous | Next » 

Revision c90aca24

Added by Leszek Koltunski about 4 years ago

Move the 'pre-multiply mesh before applying any effects' thing from [(Xsize of texture, Ysize of texture) x Mesh's zFactor] to Effects.setStretch(sx,sy,sz)

View differences:

src/main/java/org/distorted/library/effectqueue/EffectQueueMatrix.java
76 76
    }
77 77

  
78 78
///////////////////////////////////////////////////////////////////////////////////////////////////
79
// return a float which describes how much larger an object must be so that it appears to be (dialog_about)
79
// return a float which describes how much larger an object must be so that it appears to be (about)
80 80
// 'marginInPixels' pixels larger in each direction. Used in Postprocessing.
81 81

  
82 82
  float magnify(float[] projection, int width, int height, float mipmap, float halfX, float halfY, float halfZ, float marginInPixels)

Also available in: Unified diff