summaryrefslogtreecommitdiff
path: root/src/common/math_util.h
AgeCommit message (Collapse)Author
2018-08-02math_util: Always initialize members of RectangleLioncash
Prevents potentially using the members uninitialized.
2018-04-20math_util: Remove the Clamp() functionLioncash
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2016-12-26MathUtil: add PI constantwwylele
2016-11-12Round the rectangle size to prevent float to int casting issuesJames Rowe
And other minor style changes
2016-11-05Add default hotkey to swap primary screens.James Rowe
Also minor style changes
2016-11-05Rework frame layouts to use a max rectangle instead of hardcoded calculationsJames Rowe
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2015-06-08Render-to-texture flush, interval math fixtfarley
2015-05-22OpenGL renderertfarley
2015-05-14Common: Remove unused cruft from math_util, and remove a duplicated Rect ↵Emmanuel Gil Peyrot
class in common_types.
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2014-12-20License changepurpasmart96
2014-11-18MathUtil: Make Rectangle work with unsigned types.Tony Wasserka
2014-08-19Common: Add a clamp function to math_utils.hLioncash
2014-08-17Common: Move header guards over to pragma onceLioncash
Also replaced C headers with the C++ equivalent ones
2014-04-08fixed project includes to use new directory structurebunnei
2014-04-08got rid of 'src' folders in each sub-projectbunnei