Project

General

Profile

« Previous | Next » 

Revision 62c869ad

Added by Leszek Koltunski over 3 years ago

Fix normals in case of MatrixEffectScale / Shear.
Fix displaying the normal vector.

View differences:

src/main/java/org/distorted/library/effect/MatrixEffect.java
37 37
 *
38 38
 * @y.exclude
39 39
 */
40
  public abstract void apply(float[] matrix, float[] uniforms, int index);
40
  public abstract void apply(float[] matrixP, float[] matrixV, float[] uniforms, int index);
41 41

  
42 42
///////////////////////////////////////////////////////////////////////////////////////////////////
43 43
// empty function for completeness

Also available in: Unified diff