Project

General

Profile

« Previous | Next » 

Revision a4835695

Added by Leszek Koltunski almost 8 years ago

move data types, like FlatND and InterpolatorND, to a separate package.

View differences:

src/main/java/org/distorted/library/DistortedObject.java
23 23
import android.opengl.GLES20;
24 24
import android.opengl.GLUtils;
25 25

  
26
import org.distorted.library.type.Float1D;
27
import org.distorted.library.type.Float2D;
28
import org.distorted.library.type.Float3D;
29
import org.distorted.library.type.Float4D;
30
import org.distorted.library.type.Interpolator;
31
import org.distorted.library.type.Interpolator1D;
32
import org.distorted.library.type.Interpolator2D;
33
import org.distorted.library.type.Interpolator3D;
34
import org.distorted.library.type.Interpolator4D;
35
import org.distorted.library.type.InterpolatorQuat;
36

  
26 37
///////////////////////////////////////////////////////////////////////////////////////////////////
27 38
/**
28 39
 * All Objects to which Distorted Graphics effects can be applied need to be extended from here.
......
658 669
    Interpolator1D di = new Interpolator1D();  
659 670
    di.setCount(0.5f);
660 671
    di.setDuration(duration);
661
    di.add(new Float1D(    0));                             
672
    di.add(new Float1D(    0));
662 673
    di.add(new Float1D(angle));                        
663 674

  
664 675
    return mM.add(EffectNames.ROTATE, center, di, 0.0f,0.0f,1.0f);

Also available in: Unified diff