commit 70364d83d49937558d762f2b628fabbb90dceeab parent ba673d0baf4a359002db307137e57781cc0e2549 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Oct 12 23:22:53 +0300 Fix horizon map generation Diffstat:
pp.cc | | | 2 | +- |
diff --git a/pp.cc b/pp.cc @@ -22,7 +22,7 @@ static float tan_theta( v2 a, v2 b ) { v2 d = a - b; - return d.y / d.x; + return -d.y / d.x; } static void compute_row_of_horizons(