normalize direction in ray