Commit Graph

18 Commits (bfe84f06f2de966b68026f5b3f4212fd2ba783b6)

Author SHA1 Message Date
Lioncash f2a03468b1 math_util: Always initialize members of Rectangle
Prevents potentially using the members uninitialized.
7 years ago
Lioncash fae2dd0344
math_util: Remove the Clamp() function
C++17 adds clamp() to the standard library, so we can remove ours in
favor of it.
7 years ago
wwylele 55f5d0f777 MathUtil: add PI constant 8 years ago
James Rowe 793339b73a Round the rectangle size to prevent float to int casting issues
And other minor style changes
9 years ago
James Rowe d9305b0a07 Add default hotkey to swap primary screens.
Also minor style changes
9 years ago
James Rowe 5f72aade77 Rework frame layouts to use a max rectangle instead of hardcoded calculations 9 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
tfarley 66b0d799ee Render-to-texture flush, interval math fix 10 years ago
tfarley 05dc633a8c OpenGL renderer 10 years ago
Emmanuel Gil Peyrot a31fd7f86b Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types. 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
purpasmart96 ebfd831ccb License change 10 years ago
Tony Wasserka e02ff0121f MathUtil: Make Rectangle work with unsigned types. 11 years ago
Lioncash 2f571a0d9d Common: Add a clamp function to math_utils.h 11 years ago
Lioncash 90e994471a Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
11 years ago
bunnei de0a034a84 fixed project includes to use new directory structure 11 years ago
bunnei 63e46abdb8 got rid of 'src' folders in each sub-project 11 years ago