Project

General

Profile

« Previous | Next » 

Revision af3f487c

Added by Leszek Koltunski about 2 years ago

Bandaged: progress with creating the object.

View differences:

src/main/java/org/distorted/bandaged/BandagedPlayRenderer.java
74 74
   @Override
75 75
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
76 76
      {
77
      DistortedLibrary.setMax(EffectType.VERTEX,25);
78
      MeshBase.setMaxEffComponents(50);
77
      DistortedLibrary.setMax(EffectType.VERTEX,25); // 24 quaternions + rotation
78
      MeshBase.setMaxEffComponents(98);  // max 5^3-3^3 moving parts
79 79
      VertexEffectRotate.enable();
80 80
      VertexEffectQuaternion.enable();
81 81
      BaseEffect.Type.enableEffects();

Also available in: Unified diff