Project

General

Profile

« Previous | Next » 

Revision 4b34bb08

Added by Leszek Koltunski over 7 years ago

progress with Around the World

View differences:

src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java
52 52
      {
53 53
      mView = view;
54 54
      mEffects = new AroundTheWorldEffectsManager();
55

  
56
      Distorted.setMaxVertex(6);
57
      Distorted.setMaxFragment(3);
55 58
      }
56 59

  
57 60
///////////////////////////////////////////////////////////////////////////////////////////////////
58 61

  
59
   public AroundTheWorldEffectsManager getManager()
62
   AroundTheWorldEffectsManager getManager()
60 63
     {
61 64
     return mEffects;
62 65
     }
......
120 123
      mObjWidth = mObject.getWidth();
121 124
      mObjHeight= mObject.getHeight();
122 125

  
123
      mEffects.setSize(mObjWidth,mObjHeight);
124

  
125 126
      mObject.setBitmap(bitmap);
126 127
      mEffects.apply(mObject);
127 128

  

Also available in: Unified diff