Project

General

Profile

« Previous | Next » 

Revision e50e7ba7

Added by Leszek Koltunski almost 4 years ago

1) rename DistortedTexture's setColor to setColorARGB
2) fix the Wiind app to take into account paused time
3) fix the Dynamic so that if a single Dynamic is used more than once (in more than one effect) than it doesn't get adjusted for paused time multiple times.

View differences:

src/main/java/org/distorted/examples/wind/WindRenderer.java
102 102
      }
103 103
   
104 104
///////////////////////////////////////////////////////////////////////////////////////////////////
105
   
105

  
106
   void pauseWind()
107
      {
108
      if( mGust   !=null ) mGust.pauseWind();
109
      if( mManager!=null ) mManager.pauseWind();
110
      }
111

  
112
///////////////////////////////////////////////////////////////////////////////////////////////////
113

  
114
   void resumeWind()
115
      {
116
      if( mGust   !=null ) mGust.resumeWind();
117
      if( mManager!=null ) mManager.resumeWind();
118
      }
119

  
120
///////////////////////////////////////////////////////////////////////////////////////////////////
121

  
106 122
   public void onDrawFrame(GL10 glUnused) 
107 123
      {
108 124
      long time = System.currentTimeMillis();

Also available in: Unified diff