Simple ray caster