Project

General

Profile

« Previous | Next » 

Revision 4fde55a0

Added by Leszek Koltunski over 7 years ago

Beginnings of the WAVE effect.

View differences:

src/main/java/org/distorted/library/EffectNames.java
115 115
   * Unity: swirlAngle = 0
116 116
   */
117 117
  SWIRL            ( EffectTypes.VERTEX  ,   new float[] {0.0f}           ),
118
  /**
119
   * Directional sinusoidal wave effect. The direction of the wave is given by the 'angle'
120
   * parameter, which is the angle (in degrees) the direction forms with the X-axis.
121
   * <p>
122
   * Uniforms: (amplitude,angle,length,regionX,regionY,regionRX,regionRY,centerX,centerY)
123
   * Unity: amplitude  = 0
124
   */
125
  WAVE             ( EffectTypes.VERTEX  ,   new float[] {0.0f}           ),
118 126
  // add new Vertex Effects here...
119 127

  
120 128
 /////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff