Revision 4b4c217e
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/main/RubikRenderer.java | ||
---|---|---|
40 | 40 |
{ |
41 | 41 |
public static final float BRIGHTNESS = 0.30f; |
42 | 42 |
|
43 |
private RubikSurfaceView mView; |
|
44 |
private DistortedScreen mScreen; |
|
45 |
private Fps mFPS; |
|
43 |
private final RubikSurfaceView mView;
|
|
44 |
private final DistortedScreen mScreen;
|
|
45 |
private final Fps mFPS;
|
|
46 | 46 |
private boolean mErrorShown; |
47 | 47 |
|
48 | 48 |
private static class Fps |
... | ... | |
122 | 122 |
@Override |
123 | 123 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
124 | 124 |
{ |
125 |
DistortedLibrary.setMax(EffectType.VERTEX,25); // 24 Cube Quats + Rotate
|
|
125 |
DistortedLibrary.setMax(EffectType.VERTEX,61); // 60 Minx Quats + Rotate
|
|
126 | 126 |
VertexEffectRotate.enable(); |
127 | 127 |
VertexEffectQuaternion.enable(); |
128 | 128 |
BaseEffect.Type.enableEffects(); |
Also available in: Unified diff
Progress with the Kilominx - rotations.