shaunlebron/blinky

[enhancement] unify lens functions

shaunlebron opened this issue · 0 comments

For sake of simplicity on both fronts (c and lua), replace the separate lens inverse/forward functions with lens_inverse(x,y,z) and lens_forward(x,y). Each can call latlon_to_ray, ray_to_latlon, ray_to_radial, radial_to_ray, etc.