Skip to content

Commit

Permalink
Merge pull request ossimlabs#281 from kjurka/fix_up_angle_grid
Browse files Browse the repository at this point in the history
Fix grid layout for up angle calculation.
  • Loading branch information
sbortman authored Jun 7, 2022
2 parents 82417ad + 975a149 commit f03136b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imaging/ossimImageGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ ossim_float64 ossimImageGeometry::upIsUpAngle(const ossimDpt& pt) const
// RP - FIX POINTS IN FIRST ROW
ipts[0] = centerIpt + ossimDpt(-widthPercent, -heightPercent);
// 45 degree middle top
ipts[1] = centerIpt + ossimDpt(0.0,heightPercent);
ipts[1] = centerIpt + ossimDpt(0.0, -heightPercent);
// 45 degree right quadrant
ipts[2] = centerIpt + ossimDpt(widthPercent, -heightPercent);

Expand Down

0 comments on commit f03136b

Please sign in to comment.