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/MatrixEffectMove.java
54 54
    float sy = uniforms[NUM_UNIFORMS*index+1];
55 55
    float sz = uniforms[NUM_UNIFORMS*index+2];
56 56

  
57
    Matrix.translateM(matrix, 0, sx,-sy, sz);
57
    Matrix.translateM(matrix, 0, sx, sy, sz);
58 58
    }
59 59

  
60 60
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff