Revision 6dff7924
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/bandaged/BandagedPlayRenderer.java | ||
---|---|---|
26 | 26 |
import org.distorted.library.effect.VertexEffectRotate; |
27 | 27 |
import org.distorted.library.main.DistortedLibrary; |
28 | 28 |
import org.distorted.library.main.DistortedScreen; |
29 |
import org.distorted.library.mesh.MeshBase; |
|
29 | 30 |
import org.distorted.objectlib.effects.BaseEffect; |
30 | 31 |
|
31 | 32 |
import javax.microedition.khronos.egl.EGLConfig; |
... | ... | |
74 | 75 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
75 | 76 |
{ |
76 | 77 |
DistortedLibrary.setMax(EffectType.VERTEX,25); |
78 |
MeshBase.setMaxEffComponents(26); |
|
77 | 79 |
VertexEffectRotate.enable(); |
78 | 80 |
VertexEffectQuaternion.enable(); |
79 | 81 |
BaseEffect.Type.enableEffects(); |
80 | 82 |
|
81 | 83 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this,1); |
84 |
DistortedLibrary.setCull(true); |
|
82 | 85 |
} |
83 | 86 |
|
84 | 87 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Minor.