Project

General

Profile

« Previous | Next » 

Revision a98db446

Added by Leszek Koltunski about 8 years ago

Allow more than the default number of concurrent VERTEX and FRAGMENT effects in Effects3D.

View differences:

src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java
380 380
    {
381 381
    firstScreen = false;
382 382

  
383
    Distorted.setMaxVertex(20);    // those have to be called before
384
    Distorted.setMaxFragment(10);  // any DistortedObject gets created!
385

  
383 386
    if( mObjectType==1 )
384 387
      {
385 388
      mObject = new DistortedBitmap(100,100,mNumCols);

Also available in: Unified diff