Project

General

Profile

« Previous | Next » 

Revision 4f8ca8ff

Added by Leszek Koltunski over 7 years ago

Tidy up the 'Effects3D'

View differences:

src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java
64 64

  
65 65
///////////////////////////////////////////////////////////////////////////////////////////////////
66 66

  
67
    public Effects3DRenderer(GLSurfaceView v)
67
    Effects3DRenderer(GLSurfaceView v)
68 68
      {
69 69
      mView = v;
70 70

  
......
101 101

  
102 102
///////////////////////////////////////////////////////////////////////////////////////////////////
103 103

  
104
    public void setCenter(float x, float y)
104
    void setCenter(float x, float y)
105 105
      {
106 106
      mCenterPoint.set(mFactorObj*x,mFactorObj*y,0);
107 107
      }
108 108

  
109 109
///////////////////////////////////////////////////////////////////////////////////////////////////
110 110

  
111
    public void setRegion(float x, float y, float r)
111
    void setRegion(float x, float y, float r)
112 112
      {
113 113
      mFactorReg = 2*mFactorObj*r/mRegion.getWidth();
114 114
      mRegionPoint.set(mFactorObj*x,mFactorObj*y,0);

Also available in: Unified diff