Project

General

Profile

« Previous | Next » 

Revision ffbf279e

Added by Leszek Koltunski almost 8 years ago

revert latest changes to the fragment shader.
small things in DistortedObjects.

View differences:

src/main/java/org/distorted/library/DistortedObject.java
46 46
 
47 47
  protected DistortedObjectGrid mGrid = null;
48 48
  protected long mID;
49
  protected int mSizeX, mSizeY, mSizeZ, mSize; // in screen space
49
  protected int mSizeX, mSizeY, mSizeZ; // in screen space
50 50

  
51 51
  protected Bitmap[] mBmp= null; //
52 52
  int[] mTextureDataH;           // have to be shared among all the cloned Objects
......
58 58

  
59 59
///////////////////////////////////////////////////////////////////////////////////////////////////
60 60

  
61
  protected void initializeData(int size)
61
  protected void initializeData()
62 62
    {
63 63
    mID             = DistortedObjectList.add(this);
64
    mSize           = size;
65 64
    mTextureDataH   = new int[1];
66 65
    mTextureDataH[0]= 0;
67 66
    mBmp            = new Bitmap[1];
......
220 219
    mSizeX = dc.mSizeX;
221 220
    mSizeY = dc.mSizeY;
222 221
    mSizeZ = dc.mSizeZ;
223
    mSize  = dc.mSize;
224 222
    mGrid  = dc.mGrid;
225 223

  
226 224
    if( (flags & Distorted.CLONE_BITMAP) != 0 )

Also available in: Unified diff