public void go() { model = new Model(); view = new OpenGLView(); model.init(); view.add(new ThreeDView(0, 0)); view.add(new DebugView()); view.init(model); }
public final void onResume() { for (int i = getChildCount(); --i >= 0; ) { View v = getChildAt(i); if (v instanceof OpenGLView) ((OpenGLView) v).onResume(); } }
public final void deleteOpenGLView(OpenGLView view) { ViewGroup group = (ViewGroup) (view.getParent()); if (group != null) group.removeView(view); }