Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-09-02 | input_common/motion_input: Make use of Common::PI constant | Morph | 1 | -1/+1 | |
Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file. | |||||
2020-08-15 | common: Make use of [[nodiscard]] where applicable | Lioncash | 1 | -5/+5 | |
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | |||||
2020-08-13 | General: Tidy up clang-format warnings part 2 | Lioncash | 1 | -1/+1 | |
2020-02-28 | common/math_util: Support float type rectangles | ReinUsesLisp | 1 | -2/+14 | |
2019-05-31 | common/math_util: Provide a template deduction guide for Common::Rectangle | Lioncash | 1 | -0/+3 | |
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 | 1 | -2/+2 | |
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 | 1 | -2/+2 | |
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 | 1 | -2/+2 | |
Allows objects that contain rectangle instances to be constexpr constructible as well. | |||||
2018-11-21 | common/math_util: Remove unnecessary static from PI | Lioncash | 1 | -1/+1 | |
const/constexpr variables have internal linkage by default. | |||||
2018-11-21 | common/math_util: Remove unused IntervalsIntersect() function | Lioncash | 1 | -6/+0 | |
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 | 1 | -5/+5 | |
Prevents potentially using the members uninitialized. | |||||
2018-04-20 | math_util: Remove the Clamp() function | Lioncash | 1 | -5/+0 | |
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 | 1 | -0/+2 | |
2016-11-12 | Round the rectangle size to prevent float to int casting issues | James Rowe | 1 | -2/+2 | |
And other minor style changes | |||||
2016-11-05 | Add default hotkey to swap primary screens. | James Rowe | 1 | -4/+2 | |
Also minor style changes | |||||
2016-11-05 | Rework frame layouts to use a max rectangle instead of hardcoded calculations | James Rowe | 1 | -0/+12 | |
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -4/+2 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -14/+19 | |
2015-06-09 | Render-to-texture flush, interval math fix | tfarley | 1 | -1/+1 | |
2015-05-23 | OpenGL renderer | tfarley | 1 | -0/+4 | |
2015-05-14 | Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types. | Emmanuel Gil Peyrot | 1 | -171/+3 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-11-18 | MathUtil: Make Rectangle work with unsigned types. | Tony Wasserka | 1 | -4/+5 | |
2014-08-19 | Common: Add a clamp function to math_utils.h | Lioncash | 1 | -0/+7 | |
2014-08-17 | Common: Move header guards over to pragma once | Lioncash | 1 | -5/+1 | |
Also replaced C headers with the C++ equivalent ones | |||||
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -1/+1 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-02 | convert tabs to spaces | bunnei | 1 | -102/+102 | |
2013-09-05 | replaced common code with dolphin common | ShizZy | 1 | -0/+200 | |