Project

General

Profile

« Previous | Next » 

Revision 10585385

Added by Leszek Koltunski almost 4 years ago

More progreess porting RubikCube.

View differences:

src/main/java/org/distorted/main/RubikRenderer.java
49 49
     mView = v;
50 50
     mScreen = new DistortedScreen();
51 51
     mScreen.glClearColor(BRIGHTNESS, BRIGHTNESS, BRIGHTNESS, 1.0f);
52
     mScreen.showFPS();
52 53
     }
53 54

  
54 55
///////////////////////////////////////////////////////////////////////////////////////////////////
......
77 78
   @Override
78 79
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
79 80
      {
80
      DistortedLibrary.setMax(EffectType.VERTEX,15);
81
      DistortedLibrary.setMax(EffectType.VERTEX,25);    // 24 Cube Quats + Rotate
81 82
      VertexEffectRotate.enable();
82 83
      BaseEffect.Type.enableEffects();
83 84

  

Also available in: Unified diff