Project

General

Profile

« Previous | Next » 

Revision 7bebb196

Added by Leszek Koltunski over 5 years ago

Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).

View differences:

src/main/java/org/distorted/library/effect/VertexEffectSink.java
45 45
    {
46 46
    mCenter.get(uniforms,index+CENTER_OFFSET,currentDuration,step);
47 47
    mRegion.get(uniforms,index+REGION_OFFSET,currentDuration,step);
48
    boolean ret = mSink.get(uniforms,index,currentDuration,step);
49

  
50
    uniforms[index+REGION_OFFSET+1] =-uniforms[index+REGION_OFFSET+1];  // region's y
51

  
52
    return ret;
48
    return mSink.get(uniforms,index,currentDuration,step);
53 49
    }
54 50

  
55 51
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff