title: Android opengl-es collision detection
body: <p>This has been giving me a headache for a couple of days so I have finally accepted defeat and am going to ask here.</p>
  
  <p>My game consists of cubes of varying sizes which have to be moved around in a small area. I have the cube movement working perfectly, the only thing I can't seem to get my head around is collision detection.</p>
  
  <p>The ground is completely flat so I don't need to worry about the Y-Axis, the coordinates of the cube are relative to the centre of the cube at ground level. I should probably also add that each level is made up of multiple rectangular ground planes which are positioned adjacent to each other.</p>
  
  <p>Any suggestions as to how this could be done (pseudo code is fine) with minimal cpu usage are welcome. Thanks very much.</p>