-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fixed Point unit tests Add Vector unit tests Add Colour unit tests Add Date unit tests Add Timespan unit tests Add Approx to assist floating point comparisons Add double Vector (for testing) Add Vector <=>, >, >=, <, <= operators Add Vector cross-type operators Add `fixed_point_t::_0_25()` Add Fixed Point float comparison operators Make fixed_point_t(int64) constructor explicit Fix fixed_point_t Vector abs function Add rgb and rgba integer parsing to Colour Add Colour string parse methods Add invert operator to Colour Add full_invert to Colour (includes alpha) Add _rgba Colour user-defined literal Add Timespan prefix and postfix -- operators Add Timespan to_chars method Add Date prefix and postfix -- operators Add Date to_chars method Improve Date to_string method Add Date from_chars method Improve Date from_string method Add Date from_string_log method
- Loading branch information
1 parent
6b921dc
commit d4d2120
Showing
26 changed files
with
2,267 additions
and
432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "openvic-simulation/types/Colour.hpp" // IWYU pragma: keep | ||
|
||
namespace OpenVic { | ||
template struct basic_colour_t<std::uint8_t, std::uint32_t>; | ||
template struct basic_colour_t<std::uint8_t, std::uint32_t, rgb_colour_traits<std::uint8_t, std::uint32_t>>; | ||
} |
Oops, something went wrong.