Project

General

Profile

« Previous | Next » 

Revision 5e3cd4e1

Added by Leszek Koltunski over 7 years ago

Beginnings of support for the unified Data data type.

View differences:

src/main/java/org/distorted/examples/dynamic/DynamicSurfaceView.java
237 237

  
238 238
      if( len>=2 )
239 239
        {
240
        di1D.interpolateMain(mPoints,3*mPosition, time, mDiffTime);
240
        di1D.get(mPoints,3*mPosition, time, mDiffTime);
241 241

  
242 242
        for(int i=0; i<NUM_POINTS; i++)
243 243
          {
......
273 273
      
274 274
      if( len>=2 )
275 275
        {
276
        di2D.interpolateMain(mPoints,3*mPosition, time, mDiffTime);
276
        di2D.get(mPoints,3*mPosition, time, mDiffTime);
277 277

  
278 278
        for(int i=0; i<NUM_POINTS; i++)
279 279
          {
......
309 309
      
310 310
      if( len>=2 )
311 311
        {
312
        di3D.interpolateMain(mPoints, 3*mPosition, time, mDiffTime);
312
        di3D.get(mPoints, 3*mPosition, time, mDiffTime);
313 313

  
314 314
        for(int i=0; i<NUM_POINTS; i++)
315 315
          {
src/main/java/org/distorted/examples/movingeffects/MovingEffectsSurfaceView.java
244 244
          for(int i=0; i<NUM_POINTS; i++)
245 245
            {
246 246
            mPaint.setColor( 0xffffffff );
247
            mCenterVertex.interpolateMain( drawCoord, 0, (long)(i*step) );
247
            mCenterVertex.get( drawCoord, 0, (long)(i*step) );
248 248
            c.drawCircle(drawCoord[0], drawCoord[1], mSize1, mPaint );
249 249
            }
250 250
          }

Also available in: Unified diff