Tagged Questions

0
votes
0answers
206 views

Android Renderer: Difference two ways of using

I use two ways of Renderer to draw a triangle. One is work and one is none. Here is my two solutions. (You should see the line :glView.setRenderer method. That the basic difference of my two ...
-3
votes
2answers
420 views

How to implement a 2d collision detection for Android

I am making a 2d space shooter using opengl ES. Can someone please show me how to implement a collision detection between the enemy ship and player ship. The code for the two classes are below: ...