Project

General

Profile

« Previous | Next » 

Revision 7e8b9852

Added by Leszek Koltunski almost 4 years ago

Correct RubikCube for the new library.

View differences:

src/main/java/org/distorted/objects/RubikObject.java
147 147
        }
148 148
      }
149 149

  
150
    mesh.setTextureMap(maps);
150
    mesh.setTextureMap(maps,0);
151 151
    }
152 152

  
153 153
///////////////////////////////////////////////////////////////////////////////////////////////////
......
415 415
    try
416 416
      {
417 417
      maps[face] = new Static4D( newColor*ratio, 0.0f, ratio, 1.0f);
418
      mCubits[cubit].getMesh().setTextureMap(maps);
418
      mCubits[cubit].getMesh().setTextureMap(maps,0);
419 419
      }
420 420
    catch(ArrayIndexOutOfBoundsException ignored)
421 421
      {

Also available in: Unified diff