Skip to content

Instantly share code, notes, and snippets.

@framundo
Created April 14, 2016 13:29
Show Gist options
  • Save framundo/e605d25fffc6638bc22c0ca2c81b17d7 to your computer and use it in GitHub Desktop.
Save framundo/e605d25fffc6638bc22c0ca2c81b17d7 to your computer and use it in GitHub Desktop.
public class ExampleFragment extends Fragment {
...
private void setupWorld() {
...
Triangle triangle = new Triangle();
mBasicRenderer.addModel(triangle);
mEasyGLView.setRenderer(mBasicRenderer);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment