Project

General

Profile

« Previous | Next » 

Revision faa3ff56

Added by Leszek Koltunski almost 7 years ago

Javadoc.

View differences:

src/main/java/org/distorted/library/effect/MatrixEffect.java
20 20
package org.distorted.library.effect;
21 21

  
22 22
///////////////////////////////////////////////////////////////////////////////////////////////////
23
// MATRIX EFFECTS.
24

  
23
/**
24
 * Matrix Effect - an Effect that works by modifying the ModelView matrix.
25
 */
25 26
public abstract class MatrixEffect extends Effect
26 27
  {
27
  public static final int NUM_UNIFORMS = 7; // 4 per-effect interpolated values + 3 dimensional center.
28
/**
29
 * 7: 4 per-effect interpolated values + 3 dimensional center.
30
 */
31
  public static final int NUM_UNIFORMS = 7;
28 32

  
29 33
///////////////////////////////////////////////////////////////////////////////////////////////////
30

  
34
/**
35
 * Only for use by the library itself.
36
 *
37
 * @y.exclude
38
 */
31 39
  public abstract void apply(float[] matrix, float[] uniforms, int index);
32 40

  
33 41
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff