Unified · Split
| @@ -2069,8 +2069,8 @@ static void dfisheye_to_xyz(const V360Context *s, · 2068 unmodified lines | |||
| 2069 | const float sin_theta = sinf(theta); | 2069 | const float sin_theta = sinf(theta); |
| 2070 | const float cos_theta = cosf(theta); | 2070 | const float cos_theta = cosf(theta); |
| 2071 | 2071 | ||
| 2072 | vec[0] = cos_theta * uf / lh; | 2072 | vec[0] = cos_theta * m * -uf / lh; |
| 2073 | vec[1] = cos_theta * -vf / lh; | 2073 | vec[1] = cos_theta * -vf / lh; |
| 2074 | vec[2] = sin_theta; | 2074 | vec[2] = sin_theta; |
| 2075 | 2075 | ||
| 2076 | normalize_vector(vec); | 2076 | normalize_vector(vec); |