It's easy to implement into your java system however you like, this was just a demonstration of ray casting on RSPS

http://electronicdesign.com/displays...nd-ray-charles

^good read lel