define screen to world ray converter

*screen coord to world ray converter
*viewport has minz, maxz explicitly
add const qualifier

bounding shapes are accessed as const pointer commonly