Project

General

Profile

« Previous | Next » 

Revision 571aa3fa

Added by Leszek Koltunski about 4 years ago

Convert Projection to not use the depreciated MeshBase.setStretch() API.

View differences:

src/main/java/org/distorted/library/mesh/MeshBase.java
475 475
       }
476 476
     }
477 477

  
478

  
479

  
480 478
///////////////////////////////////////////////////////////////////////////////////////////////////
479
// all 4 APIs depreciated - being removed from the apps. When done, we will also remove the
480
// premultiply of the Object vertices by m_objD in the vertex shader.
481 481

  
482
   @Deprecated
482 483
   public void setStretch(int sx, int sy, int sz)
483 484
     {
484 485
     mBoundingX = sx/2.0f;
......
486 487
     mBoundingZ = sz/2.0f;
487 488
     }
488 489

  
490
   @Deprecated
489 491
   public float getStretchX()
490 492
    {
491 493
    return mBoundingX*2;
492 494
    }
495
   @Deprecated
493 496
   public float getStretchY()
494 497
    {
495 498
    return mBoundingY*2;
496 499
    }
500
   @Deprecated
497 501
   public float getStretchZ()
498 502
    {
499 503
    return mBoundingZ*2;
500 504
    }
501

  
502

  
503 505
   }
504 506

  
505 507

  

Also available in: Unified diff