Implementing Ray Tracing with Numba Cuda: Using local variables in a kernel

Hi all,

Please see the screenshot below. I have taken a screenshot of my question as this way I could upload more than one screenshot to explain my issue better. Thanks for your time taken!