Project

General

Profile

« Previous | Next » 

Revision 1d25180f

Added by Leszek Koltunski over 5 years ago

Some improvements to the Wind app - still does not look very realistic though :(

View differences:

src/main/java/org/distorted/library/effect/VertexEffectWave.java
212 212
 *               but this time it waves in the Y-direction, i.e. cross sections of the surface and the
213 213
 *               YZ-plane with be sine shapes.
214 214
 *               <p>
215
 *               Example3: if Alpha = 0 and Beta = 45, then V=(sqrt(2)/2, -sqrt(2)/2, 0) and the wave
215
 *               Example3: if Alpha = 0 and Beta = 45, then V=(sqrt(2)/2, sqrt(2)/2, 0) and the wave
216 216
 *               is entirely 'horizontal' and moves point (x,y,0) in direction V by whatever is the
217 217
 *               value if sin at this point.
218 218
 * @param center 3-dimensional Data that, at any given time, returns the Center of the Effect.

Also available in: Unified diff