Project

General

Profile

« Previous | Next » 

Revision 08eabc44

Added by Leszek Koltunski over 8 years ago

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

View differences:

src/main/java/org/distorted/examples/bean/BeanRenderer.java
28 28
import org.distorted.examples.R;
29 29

  
30 30
import org.distorted.library.EffectTypes;
31
import org.distorted.library.Interpolator2D;
31
import org.distorted.library.type.Interpolator2D;
32 32
import org.distorted.library.Distorted;
33 33
import org.distorted.library.DistortedBitmap;
34
import org.distorted.library.Float2D;
35
import org.distorted.library.Float4D;
34
import org.distorted.library.type.Float2D;
35
import org.distorted.library.type.Float4D;
36 36

  
37 37
import android.graphics.Bitmap;
38 38
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/check/CheckRenderer.java
30 30
import org.distorted.library.Distorted;
31 31
import org.distorted.library.DistortedBitmap;
32 32
import org.distorted.library.EffectTypes;
33
import org.distorted.library.Float1D;
34
import org.distorted.library.Float2D;
35
import org.distorted.library.Float3D;
36
import org.distorted.library.Float4D;
37
import org.distorted.library.Interpolator1D;
38
import org.distorted.library.Interpolator2D;
33
import org.distorted.library.type.Float1D;
34
import org.distorted.library.type.Float2D;
35
import org.distorted.library.type.Float3D;
36
import org.distorted.library.type.Float4D;
37
import org.distorted.library.type.Interpolator1D;
38
import org.distorted.library.type.Interpolator2D;
39 39

  
40 40
import android.app.AlertDialog;
41 41
import android.content.Context;
src/main/java/org/distorted/examples/cubes/CubesRenderer.java
28 28
import org.distorted.examples.R;
29 29

  
30 30
import org.distorted.library.EffectTypes;
31
import org.distorted.library.InterpolatorQuat;
31
import org.distorted.library.type.InterpolatorQuat;
32 32
import org.distorted.library.DistortedCubes;
33
import org.distorted.library.Float4D;
34
import org.distorted.library.Float3D;
33
import org.distorted.library.type.Float4D;
34
import org.distorted.library.type.Float3D;
35 35
import org.distorted.library.Distorted;
36 36

  
37 37
import android.graphics.Bitmap;
src/main/java/org/distorted/examples/deform/DeformRenderer.java
25 25
import org.distorted.library.Distorted;
26 26
import org.distorted.library.DistortedBitmap;
27 27
import org.distorted.library.EffectTypes;
28
import org.distorted.library.Interpolator2D;
29
import org.distorted.library.Float3D;
30
import org.distorted.library.Float4D;
28
import org.distorted.library.type.Interpolator2D;
29
import org.distorted.library.type.Float3D;
30
import org.distorted.library.type.Float4D;
31 31

  
32 32
import android.graphics.Bitmap;
33 33
import android.graphics.Canvas;
src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java
30 30
import org.distorted.library.Distorted;
31 31
import org.distorted.library.DistortedBitmap;
32 32
import org.distorted.library.EffectTypes;
33
import org.distorted.library.Float2D;
34
import org.distorted.library.Float4D;
35
import org.distorted.library.Interpolator2D;
33
import org.distorted.library.type.Float2D;
34
import org.distorted.library.type.Float4D;
35
import org.distorted.library.type.Interpolator2D;
36 36

  
37 37
import android.graphics.Bitmap;
38 38
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java
30 30
import org.distorted.library.Distorted;
31 31
import org.distorted.library.DistortedBitmap;
32 32
import org.distorted.library.EffectTypes;
33
import org.distorted.library.Float2D;
34
import org.distorted.library.Float3D;
35
import org.distorted.library.Float4D;
36
import org.distorted.library.Interpolator3D;
33
import org.distorted.library.type.Float2D;
34
import org.distorted.library.type.Float3D;
35
import org.distorted.library.type.Float4D;
36
import org.distorted.library.type.Interpolator3D;
37 37

  
38 38
import android.graphics.Bitmap;
39 39
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java
29 29

  
30 30
import org.distorted.library.DistortedCubes;
31 31
import org.distorted.library.EffectTypes;
32
import org.distorted.library.Float3D;
33
import org.distorted.library.Float4D;
34
import org.distorted.library.Interpolator3D;
35
import org.distorted.library.Interpolator4D;
32
import org.distorted.library.type.Float3D;
33
import org.distorted.library.type.Float4D;
34
import org.distorted.library.type.Interpolator3D;
35
import org.distorted.library.type.Interpolator4D;
36 36
import org.distorted.library.Distorted;
37 37

  
38 38
import android.graphics.Bitmap;
src/main/java/org/distorted/examples/fbo/FBORenderer.java
31 31
import org.distorted.library.Distorted;
32 32
import org.distorted.library.DistortedBitmap;
33 33
import org.distorted.library.EffectTypes;
34
import org.distorted.library.Float2D;
34
import org.distorted.library.type.Float2D;
35 35

  
36 36
import android.graphics.Bitmap;
37 37
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/fov/FOVRenderer.java
24 24

  
25 25
import org.distorted.library.Distorted;
26 26
import org.distorted.library.DistortedBitmap;
27
import org.distorted.library.Float2D;
28
import org.distorted.library.Float3D;
29
import org.distorted.library.Float4D;
27
import org.distorted.library.type.Float2D;
28
import org.distorted.library.type.Float3D;
29
import org.distorted.library.type.Float4D;
30 30

  
31 31
import android.graphics.Bitmap;
32 32
import android.graphics.Canvas;
src/main/java/org/distorted/examples/girl/GirlRenderer.java
30 30
import org.distorted.library.Distorted;
31 31
import org.distorted.library.DistortedBitmap;
32 32
import org.distorted.library.EffectTypes;
33
import org.distorted.library.Float1D;
34
import org.distorted.library.Float2D;
35
import org.distorted.library.Float3D;
36
import org.distorted.library.Float4D;
37
import org.distorted.library.Interpolator3D;
38
import org.distorted.library.Interpolator1D;
33
import org.distorted.library.type.Float1D;
34
import org.distorted.library.type.Float2D;
35
import org.distorted.library.type.Float3D;
36
import org.distorted.library.type.Float4D;
37
import org.distorted.library.type.Interpolator3D;
38
import org.distorted.library.type.Interpolator1D;
39 39

  
40 40
import android.graphics.Bitmap;
41 41
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/interpolator/InterpolatorActivity.java
20 20
package org.distorted.examples.interpolator;
21 21

  
22 22
import org.distorted.library.Distorted;
23
import org.distorted.library.Interpolator1D;
23
import org.distorted.library.type.Interpolator1D;
24 24
import org.distorted.examples.R;
25 25

  
26 26
import android.app.Activity;
src/main/java/org/distorted/examples/interpolator/InterpolatorSurfaceView.java
28 28
import android.graphics.Paint.Style;
29 29
import android.graphics.Paint;
30 30

  
31
import org.distorted.library.Interpolator1D;
32
import org.distorted.library.Interpolator2D;
33
import org.distorted.library.Interpolator3D;
34
import org.distorted.library.Float1D;
35
import org.distorted.library.Float2D;
36
import org.distorted.library.Float3D;
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.Float1D;
35
import org.distorted.library.type.Float2D;
36
import org.distorted.library.type.Float3D;
37 37

  
38 38
///////////////////////////////////////////////////////////////////
39 39

  
src/main/java/org/distorted/examples/listener/ListenerRenderer.java
31 31
import org.distorted.library.Distorted;
32 32
import org.distorted.library.DistortedBitmap;
33 33
import org.distorted.library.EffectTypes;
34
import org.distorted.library.Float2D;
35
import org.distorted.library.Float3D;
36
import org.distorted.library.Float4D;
34
import org.distorted.library.type.Float2D;
35
import org.distorted.library.type.Float3D;
36
import org.distorted.library.type.Float4D;
37 37
import org.distorted.library.EffectListener;
38 38
import org.distorted.library.EffectMessage;
39 39

  
src/main/java/org/distorted/examples/macroblock/MacroblockRenderer.java
29 29
import org.distorted.library.Distorted;
30 30
import org.distorted.library.DistortedBitmap;
31 31
import org.distorted.library.EffectTypes;
32
import org.distorted.library.Interpolator1D;
33
import org.distorted.library.Interpolator3D;
34
import org.distorted.library.Float1D;
35
import org.distorted.library.Float2D;
36
import org.distorted.library.Float3D;
37
import org.distorted.library.Float4D;
32
import org.distorted.library.type.Interpolator1D;
33
import org.distorted.library.type.Interpolator3D;
34
import org.distorted.library.type.Float1D;
35
import org.distorted.library.type.Float2D;
36
import org.distorted.library.type.Float3D;
37
import org.distorted.library.type.Float4D;
38 38

  
39 39
import android.graphics.Bitmap;
40 40
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java
29 29
import org.distorted.library.Distorted;
30 30
import org.distorted.library.DistortedBitmap;
31 31
import org.distorted.library.EffectTypes;
32
import org.distorted.library.Float2D;
33
import org.distorted.library.Float3D;
34
import org.distorted.library.Float4D;
32
import org.distorted.library.type.Float2D;
33
import org.distorted.library.type.Float3D;
34
import org.distorted.library.type.Float4D;
35 35

  
36 36
import android.graphics.Bitmap;
37 37
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/movingeffects/MovingEffectsSurfaceView.java
29 29
import android.util.AttributeSet;
30 30

  
31 31
import org.distorted.library.EffectTypes;
32
import org.distorted.library.Float2D;
33
import org.distorted.library.Float3D;
34
import org.distorted.library.Float4D;
35
import org.distorted.library.Interpolator2D;
36
import org.distorted.library.Interpolator3D;
32
import org.distorted.library.type.Float2D;
33
import org.distorted.library.type.Float3D;
34
import org.distorted.library.type.Float4D;
35
import org.distorted.library.type.Interpolator2D;
36
import org.distorted.library.type.Interpolator3D;
37 37

  
38 38
///////////////////////////////////////////////////////////////////
39 39

  
src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
28 28
import org.distorted.examples.R;
29 29

  
30 30
import org.distorted.library.EffectTypes;
31
import org.distorted.library.Interpolator1D;
31
import org.distorted.library.type.Interpolator1D;
32 32
import org.distorted.library.DistortedNode;
33
import org.distorted.library.Float3D;
34
import org.distorted.library.Float1D;
33
import org.distorted.library.type.Float3D;
34
import org.distorted.library.type.Float1D;
35 35
import org.distorted.library.Distorted;
36 36
import org.distorted.library.DistortedBitmap;
37 37

  
src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
34 34
import org.distorted.library.Distorted;
35 35
import org.distorted.library.DistortedBitmap;
36 36
import org.distorted.library.EffectTypes;
37
import org.distorted.library.Float2D;
38
import org.distorted.library.Float3D;
39
import org.distorted.library.Float4D;
37
import org.distorted.library.type.Float2D;
38
import org.distorted.library.type.Float3D;
39
import org.distorted.library.type.Float4D;
40 40
import org.distorted.examples.R;
41 41

  
42 42
import java.io.IOException;
src/main/java/org/distorted/examples/quaternion/QuaternionRenderer.java
29 29
import org.distorted.examples.R;
30 30

  
31 31
import org.distorted.library.EffectTypes;
32
import org.distorted.library.Interpolator;
33
import org.distorted.library.InterpolatorQuat;
32
import org.distorted.library.type.Interpolator;
33
import org.distorted.library.type.InterpolatorQuat;
34 34
import org.distorted.library.DistortedCubes;
35
import org.distorted.library.Float4D;
36
import org.distorted.library.Float3D;
35
import org.distorted.library.type.Float4D;
36
import org.distorted.library.type.Float3D;
37 37
import org.distorted.library.Distorted;
38 38

  
39 39
import android.graphics.Bitmap;
src/main/java/org/distorted/examples/save/SaveRenderer.java
34 34
import org.distorted.library.EffectListener;
35 35
import org.distorted.library.EffectMessage;
36 36
import org.distorted.library.EffectTypes;
37
import org.distorted.library.Float1D;
38
import org.distorted.library.Float2D;
39
import org.distorted.library.Float4D;
40
import org.distorted.library.Interpolator1D;
37
import org.distorted.library.type.Float1D;
38
import org.distorted.library.type.Float2D;
39
import org.distorted.library.type.Float4D;
40
import org.distorted.library.type.Interpolator1D;
41 41

  
42 42
import android.app.Activity;
43 43
import android.graphics.Bitmap;
src/main/java/org/distorted/examples/scratchpad/ScratchpadSurfaceView.java
25 25
import android.view.MotionEvent;
26 26
import android.util.AttributeSet;
27 27

  
28
import org.distorted.library.Float2D;
29
import org.distorted.library.Float3D;
30
import org.distorted.library.Float4D;
31
import org.distorted.library.Interpolator3D;
28
import org.distorted.library.type.Float2D;
29
import org.distorted.library.type.Float3D;
30
import org.distorted.library.type.Float4D;
31
import org.distorted.library.type.Interpolator3D;
32 32

  
33 33
///////////////////////////////////////////////////////////////////////////////////////////////////
34 34

  
src/main/java/org/distorted/examples/sink/SinkRenderer.java
30 30
import org.distorted.library.Distorted;
31 31
import org.distorted.library.DistortedBitmap;
32 32
import org.distorted.library.EffectTypes;
33
import org.distorted.library.Float2D;
34
import org.distorted.library.Float4D;
33
import org.distorted.library.type.Float2D;
34
import org.distorted.library.type.Float4D;
35 35

  
36 36
import android.graphics.Bitmap;
37 37
import android.graphics.BitmapFactory;
src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java
28 28

  
29 29
import org.distorted.examples.R;
30 30

  
31
import org.distorted.library.Interpolator1D;
32
import org.distorted.library.Interpolator3D;
31
import org.distorted.library.type.Interpolator1D;
32
import org.distorted.library.type.Interpolator3D;
33 33
import org.distorted.library.DistortedNode;
34
import org.distorted.library.Float1D;
35
import org.distorted.library.Float2D;
36
import org.distorted.library.Float3D;
37
import org.distorted.library.Float4D;
34
import org.distorted.library.type.Float1D;
35
import org.distorted.library.type.Float2D;
36
import org.distorted.library.type.Float3D;
37
import org.distorted.library.type.Float4D;
38 38
import org.distorted.library.EffectListener;
39 39
import org.distorted.library.EffectMessage;
40 40
import org.distorted.library.Distorted;

Also available in: Unified diff