I know Microsoft made a geometric optics package for it they apparently used for VR hardware.
I think this is what you’re referring to: https://microsoft.github.io/OpticSim.jl/dev/
I think this is what you’re referring to: https://microsoft.github.io/OpticSim.jl/dev/