Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-31 | common/math_util: Provide a template deduction guide for Common::Rectangle | Lioncash | |
Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type. | |||
2019-02-27 | common/math_util: Move contents into the Common namespace | Lioncash | |
These types are within the common library, so they should be within the Common namespace. | |||
2018-11-21 | common/math_util: Simplify std::make_signed usages to std::make_signed_t | Lioncash | |
Gets rid of the need to use typename to access the ::type alias. | |||
2018-11-21 | common/math_util: Make Rectangle's constructors constexpr | Lioncash | |
Allows objects that contain rectangle instances to be constexpr constructible as well. | |||
2018-11-21 | common/math_util: Remove unnecessary static from PI | Lioncash | |
const/constexpr variables have internal linkage by default. | |||
2018-11-21 | common/math_util: Remove unused IntervalsIntersect() function | Lioncash | |
This hasn't been used since the project started, so we may as well get rid of it to keep it from bit rotting. | |||
2018-08-02 | math_util: Always initialize members of Rectangle | Lioncash | |
Prevents potentially using the members uninitialized. | |||
2018-04-20 | math_util: Remove the Clamp() function | Lioncash | |
C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | |||
2016-12-26 | MathUtil: add PI constant | wwylele | |
2016-11-12 | Round the rectangle size to prevent float to int casting issues | James Rowe | |
And other minor style changes | |||
2016-11-05 | Add default hotkey to swap primary screens. | James Rowe | |
Also minor style changes | |||
2016-11-05 | Rework frame layouts to use a max rectangle instead of hardcoded calculations | James Rowe | |
2016-09-18 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | |
2015-06-08 | Render-to-texture flush, interval math fix | tfarley | |
2015-05-22 | OpenGL renderer | tfarley | |
2015-05-14 | Common: Remove unused cruft from math_util, and remove a duplicated Rect ↵ | Emmanuel Gil Peyrot | |
class in common_types. | |||
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | |
2014-12-20 | License change | purpasmart96 | |
2014-11-18 | MathUtil: Make Rectangle work with unsigned types. | Tony Wasserka | |
2014-08-19 | Common: Add a clamp function to math_utils.h | Lioncash | |
2014-08-17 | Common: Move header guards over to pragma once | Lioncash | |
Also replaced C headers with the C++ equivalent ones | |||
2014-04-08 | fixed project includes to use new directory structure | bunnei | |
2014-04-08 | got rid of 'src' folders in each sub-project | bunnei | |