JHGuitarFreak / UQM-MegaMod-Archived

UQM-HD Remastered plus a whole host of extra content and goodies
http://megamod.serosis.net
Other
21 stars 1 forks source link

[macOS] Skewed orbit lines in 1280x960 when building on Xcode greater than 3.2.6 #7

Closed Serosis closed 5 years ago

Serosis commented 6 years ago

Like the title says. Orbit lines are skewed in 1280x960 when compiled with Xcode greater than 3.2.6.

I've tried expanding variable width on the function that creates the lines to compensate for overflows but that didn't work out. But the guesstimation at the moment is that it could be a macOS specific Clang issue.

screen shot 2018-03-04 at 7 49 45 am screen shot 2018-03-04 at 7 50 08 am

Serosis commented 5 years ago

I have just fixed this bug by expanding the variable width of Asquared, TwoAsquared, Bsquared, TwoBsquared, d, dx, dy inside drawOval and drawFilledOval to "long long" from "long".

Screen Shot 2019-03-20 at 8 24 12 AM