Project

General

Profile

« Previous | Next » 

Revision dba16c99

Added by Leszek Koltunski over 7 years ago

Next fixes for issues with 'jumping' path when noise is on. (and a whole lot of commented out debugging)

View differences:

src/main/java/org/distorted/examples/flag/FlagRenderer.java
80 80

  
81 81
      //mWaveDyn.setNoise( new Static5D(0.1f, 0.1f, 0.1f, 0.1f, 0.1f) );
82 82

  
83
      mQuat1 = new Static4D(0,0,0,1);  // unity
84
      mQuat2 = new Static4D(0,0,0,1);  // quaternions
83
      mQuat1 = new Static4D(           0,         0,           0,          1);  // unity quaternion
84
      mQuat2 = new Static4D(-0.25189602f,0.3546389f,0.009657208f,0.90038127f);  // something semi-random that looks good
85 85

  
86 86
      mQuatInt1 = new DynamicQuat(0,0.5f);
87 87
      mQuatInt2 = new DynamicQuat(0,0.5f);
......
158 158
        }
159 159
      catch(Exception ex)
160 160
        {
161
        android.util.Log.e("Cubes", ex.getMessage() );
161
        android.util.Log.e("Flag", ex.getMessage() );
162 162
        }
163 163
      }
164 164
}

Also available in: Unified diff