title: Implementing Sweep and Prune in Java
body: <p>I am following ThinMatrix's game development tutorial using OpenGL and LWJGL and stuck on implementing collision detection in my game. I have referred to these pages on the web - </p>
  
  <ul>
  <li><a href="http://www.codercorner.com/SAP.pdf" rel="nofollow noreferrer">Broadphase Collision Detection</a></li>
  </ul>
  
  <p>But I don't know any C++ and cannot convert the code. How would I implement broadphase collision detection using sweep and prune in java?</p>