Project

General

Profile

« Previous | Next » 

Revision d3c2d1ef

Added by Leszek Koltunski about 7 years ago

Minor.

View differences:

src/main/java/org/distorted/examples/deform/DeformRenderer.java
49 49
   private static final int NUM_FRAMES  = 100;
50 50

  
51 51
   private GLSurfaceView mView;
52
   private DistortedTexture fpsTexture, stretchTexture;
53
   private DistortedEffects fpsEffects, stretchEffects;
54
   private MeshObject fpsMesh, stretchMesh;
52
   private DistortedTexture stretchTexture;
53
   private DistortedEffects stretchEffects;
54
   private MeshObject stretchMesh;
55 55
   private DistortedScreen mScreen;
56 56
   private Static3D touchPoint;
57 57

  
......
66 66
   private Static3D[] vShear;
67 67

  
68 68
   private Static4D mRegion;
69
   private int scrHeight, scrWidth;
70
   private float mRadius;
71

  
72
   private EffectNames mMode = EffectNames.DISTORT;
73
   private long mLastEffect = -1;
74

  
75
   // FPS
76
   private MeshObject fpsMesh;
77
   private DistortedTexture fpsTexture;
78
   private DistortedEffects fpsEffects;
69 79
   private Canvas fpsCanvas;
70 80
   private Bitmap fpsBitmap;
71
   private int scrHeight, scrWidth;
72 81
   private Paint mPaint;
73 82
   private int fpsH, fpsW;
74 83
   private String fpsString = "";
75 84
   private long lastTime=0;
76 85
   private long[] durations;
77 86
   private int currDuration;
78
   private float mRadius;
79

  
80
   private EffectNames mMode = EffectNames.DISTORT;
81
   private long mLastEffect = -1;
82 87

  
83 88
///////////////////////////////////////////////////////////////////////////////////////////////////
84 89

  

Also available in: Unified diff