Project

General

Profile

« Previous | Next » 

Revision 698ad0a8

Added by Leszek Koltunski about 4 years ago

Move the Effects.setStretch to Meshbase.setStretch

View differences:

src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java
94 94
      for(int i=0; i<NUM_OBJECTS; i++)
95 95
        {
96 96
        mMoveVector[i] = new Static3D(0,0,0);
97
        effects[i]     = new DistortedEffects(OBJ_SIZE,OBJ_SIZE,OBJ_SIZE);
97
        effects[i]     = new DistortedEffects();
98 98
        mBlurStatus[i] = false;
99 99
        }
100 100

  
101 101
      mBlurVector = new Static1D(10);
102 102

  
103 103
      MeshCubes mesh = new MeshCubes(1,1,1);
104
      mesh.setStretch(OBJ_SIZE,OBJ_SIZE,OBJ_SIZE);
104 105

  
105 106
      mTex1 = new DistortedTexture();
106 107
      mTex2 = new DistortedTexture();

Also available in: Unified diff