Revision 34bc9f31
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/main/RubikRenderer.java | ||
---|---|---|
128 | 128 |
@Override |
129 | 129 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
130 | 130 |
{ |
131 |
DistortedLibrary.setMax(EffectType.VERTEX,61); // 60 Minx quaternions + rotate
|
|
132 |
MeshBase.setMaxEffComponents(242); // 242 moving parts (Gigaminx)
|
|
131 |
DistortedLibrary.setMax(EffectType.VERTEX,ObjectControl.MAX_QUATS+1);
|
|
132 |
MeshBase.setMaxEffComponents(ObjectControl.MAX_MOVING_PARTS);
|
|
133 | 133 |
|
134 | 134 |
VertexEffectRotate.enable(); |
135 | 135 |
VertexEffectQuaternion.enable(); |
Also available in: Unified diff
Generalize the max number of moving parts and max size of quat group.