Project

General

Profile

« Previous | Next » 

Revision 5e96393c

Added by Leszek Koltunski over 5 years ago

Make the Sink effect fully 3D.

View differences:

src/main/java/org/distorted/library/effect/VertexEffectSwirl.java
27 27
///////////////////////////////////////////////////////////////////////////////////////////////////
28 28
/**
29 29
 * 'Swirl' part of the Mesh, i.e rotate part of it around a point.
30
 *
31
 * Note: this is not a fully 3D effect as the swirling happens entirely within the XY plane - z
32
 * coordinates of all vertices remain unaffected. If someone wants a fully 3D swirling, we'd
33
 * probably need to write another VertixEffectSwirl3D with two additional parameters: latitude and
34
 * longitude angles defining the plane swirling is working on.
30 35
 */
31 36
public class VertexEffectSwirl extends VertexEffect
32 37
  {

Also available in: Unified diff