distort: fix use of cylindrical_k in oSphereLens.cxx

This commit is contained in:
rdb 2019-03-17 00:17:11 +01:00
parent 9a26b5fd08
commit 029d7363cd

View File

@ -48,7 +48,7 @@ do_extrude(const Lens::CData *lens_cdata,
LPoint3 f = point2d * do_get_film_mat_inv(lens_cdata);
PN_stdfloat focal_length = do_get_focal_length(lens_cdata);
PN_stdfloat angle = f[0] * cylindrical_k / focal_length;
PN_stdfloat angle = f[0] * ospherical_k / focal_length;
PN_stdfloat sinAngle, cosAngle;
csincos(deg_2_rad(angle), &sinAngle, &cosAngle);