basic SDL ray caster