Project

General

Profile

« Previous | Next » 

Revision 0318e7e3

Added by Leszek Koltunski almost 8 years ago

Important bugfix in the vertex shader: there was division by 0 in case Center point was on the edge of the Object, resulting in some vertices being shot into outer space.

View differences:

src/main/java/org/distorted/library/EffectQueue.java
34 34
  
35 35
  protected int[] mName;
36 36
  protected float[] mUniforms;
37
  protected Dynamic[][] mInter;  // center of the effect
37
  protected Dynamic[][] mInter;
38 38
  protected long[] mCurrentDuration;
39 39
  protected byte[] mFreeIndexes;
40 40
  protected byte[] mIDIndex;

Also available in: Unified diff