Ray Caster in Java.