Back to project page android-plotter.
The source code is released under:
Apache License
If you think the Android project android-plotter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.solovyev.android.plotter.meshes; //from w ww.j a v a2s. com import org.solovyev.android.plotter.MeshConfig; import javax.annotation.Nonnull; import javax.microedition.khronos.opengles.GL11; public interface Mesh { boolean init(); boolean initGl(@Nonnull GL11 gl, @Nonnull MeshConfig config); void draw(@Nonnull GL11 gl); @Nonnull Mesh copy(); @Nonnull State getState(); enum State { DIRTY(0), INITIALIZING(1), INIT(2), INITIALIZING_GL(3), INIT_GL(4); final int order; State(int order) { this.order = order; } } }