diff options
| author | Greg Ercolano <erco@seriss.com> | 2021-02-15 16:58:42 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2021-02-15 17:46:15 -0800 |
| commit | 1f55bfe65cc8ca6e7b79efad66a7c304a69b12fe (patch) | |
| tree | 470a39a81dc30f12d92c85b19cd838969f7247f9 /test/fracviewer.cxx | |
| parent | bef661607b45a0e6208e4275075ae35cfecc7a26 (diff) | |
Issue #109 contd: missed fractals.cxx fixes, also fix parens issue.
Missed mods to fractals.cxx.
Also fixed a parens issue Albrecht noticed on the Mac build.
Diffstat (limited to 'test/fracviewer.cxx')
| -rw-r--r-- | test/fracviewer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fracviewer.cxx b/test/fracviewer.cxx index 6330678f5..094a97a4a 100644 --- a/test/fracviewer.cxx +++ b/test/fracviewer.cxx @@ -247,7 +247,7 @@ void agvMove(void) ElSpin = -ElSpin; /* look better when you are kept from going */ /* upside down while spinning - Isn't great */ if (fabs(ElSpin) > fabs(AzSpin)) - AzSpin = fabs(ElSpin) * (AzSpin > 0.0f) ? 1.0f : -1.0f; + AzSpin = GLfloat(fabs(ElSpin) * ((AzSpin > 0.0f) ? 1.0f : -1.0f)); } break; } |
