Project

General

Profile

« Previous | Next » 

Revision 27e6c301

Added by Leszek Koltunski almost 4 years ago

Progreess porting RubikCube to the new SingleMesh mode.

View differences:

src/main/java/org/distorted/main/RubikRenderer.java
24 24

  
25 25
import org.distorted.effects.BaseEffect;
26 26
import org.distorted.library.effect.EffectType;
27
import org.distorted.library.effect.VertexEffectRotate;
27 28
import org.distorted.library.main.DistortedLibrary;
28 29
import org.distorted.library.main.DistortedScreen;
29 30

  
......
77 78
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
78 79
      {
79 80
      DistortedLibrary.setMax(EffectType.VERTEX,15);
81
      VertexEffectRotate.enable();
80 82
      BaseEffect.Type.enableEffects();
81 83

  
82 84
      try

Also available in: Unified diff