Project

General

Profile

« Previous | Next » 

Revision b5cc7760

Added by Leszek Koltunski almost 8 years ago

New API fully ported; not tested yet but stuff compiles.

View differences:

src/main/java/org/distorted/examples/girl/GirlRenderer.java
214 214
      
215 215
      mGirl = new DistortedBitmap(bitmap, 30);
216 216

  
217
      mGirl.sink( diSink, sinkRegion, pLeft );
218
      mGirl.sink( diSink, sinkRegion, pRight);
217
      mGirl.sink( diSink, pLeft, sinkRegion );
218
      mGirl.sink( diSink, pRight,sinkRegion );
219 219

  
220
      mGirl.distort(diL, Region, pLeft );
221
      mGirl.distort(diR, Region, pRight);
220
      mGirl.distort(diL, pLeft , Region);
221
      mGirl.distort(diR, pRight, Region);
222 222
         
223
      mGirl.swirl(diHips, HipsRegion, pHips);
223
      mGirl.swirl(diHips, pHips, HipsRegion );
224 224
      
225 225
      try
226 226
        {

Also available in: Unified diff