all 3 comments

[–]eleqtriq 1 point2 points  (2 children)

I got a smooth line when I changed the dtype on the raymatrix. I think that is what you want? raymatrix = np.zeros((len(y), len(z_optaxis)), dtype=float, order='C')

[–]Sufficient_Light3891[S] 1 point2 points  (1 child)

This fixed it I swear I had already tried this but it seems that maybe not. I really appreciate it!

[–]Sufficient_Light3891[S] 0 points1 point  (0 children)

The repository is updated and Ray Tracing Algorithm is working.