Revision 40a26c6c
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/tutorial/TutorialList.java | ||
---|---|---|
182 | 182 |
{"fr","SvK1kf6c43c","Résolution du Rex Cube","Asthalis"}, |
183 | 183 |
{"pl","ffbFRnHglWY","Rex cube TUTORIAL PL","MrUk"}, |
184 | 184 |
} |
185 |
), |
|
186 |
|
|
187 |
MINX3( ObjectList.MINX, 3, |
|
188 |
new String[][] { |
|
189 |
{"gb","grgGgUSxiQg","How to Solve the Kilominx","Z3"}, |
|
190 |
{"es","g6WMYjkCLok","Resolver MEGAMINX 2x2","Cuby"}, |
|
191 |
{"ru","gjaknjuZXPs","Киломинкс как собрать"," CUBES WORLD"}, |
|
192 |
{"fr","F7z6LztN-7A","Résoudre le Kilominx"," Twins Cuber"}, |
|
193 |
{"pl","tdWh8f8qpq4","Kilominx cube TUTORIAL PL","MrUK"}, |
|
194 |
} |
|
185 | 195 |
); |
186 | 196 |
|
187 | 197 |
public static final int NUM_OBJECTS = values().length; |
src/main/java/org/distorted/tutorial/TutorialRenderer.java | ||
---|---|---|
35 | 35 |
|
36 | 36 |
public class TutorialRenderer implements GLSurfaceView.Renderer, DistortedLibrary.ExceptionListener |
37 | 37 |
{ |
38 |
private TutorialSurfaceView mView; |
|
39 |
private DistortedScreen mScreen; |
|
38 |
private final TutorialSurfaceView mView;
|
|
39 |
private final DistortedScreen mScreen;
|
|
40 | 40 |
|
41 | 41 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
42 | 42 |
|
... | ... | |
74 | 74 |
@Override |
75 | 75 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
76 | 76 |
{ |
77 |
DistortedLibrary.setMax(EffectType.VERTEX,25); // 24 Cube Quats + Rotate
|
|
77 |
DistortedLibrary.setMax(EffectType.VERTEX,61); // 60 Minx quaternions + rotate
|
|
78 | 78 |
VertexEffectRotate.enable(); |
79 | 79 |
VertexEffectQuaternion.enable(); |
80 | 80 |
BaseEffect.Type.enableEffects(); |
Also available in: Unified diff
Kilominx: tutorials