Commit Graph

16 Commits

Author SHA1 Message Date
Deukhoofd f5690363da
Moves extern dependencies to CPM 2022-02-05 13:37:47 +01:00
Deukhoofd 90bb8d54b6
Rename Assert.hpp --> Ensure.hpp, style fixes. 2020-12-13 11:45:00 +01:00
Deukhoofd 4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW. 2020-12-13 11:41:41 +01:00
Deukhoofd 31b63d56db
Lots of documentation. 2020-09-22 19:32:40 +02:00
Deukhoofd f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself. 2020-06-20 17:45:41 +02:00
Deukhoofd 3dc96de34b
Change namespace name so it's a lot less verbose. 2020-05-26 17:21:08 +02:00
Deukhoofd 817b4c55d8
Fixes for style in Random class. 2020-05-26 13:33:43 +02:00
Deukhoofd 28f427fa36
Switches Random handling to PCG family, specifically for better cross platform predictability. 2020-05-22 12:37:25 +02:00
Deukhoofd 24aff14745
Fixed const issue. 2020-04-22 22:54:57 +02:00
Deukhoofd 535b68bb8c
Return GetRandomEngine not by const, so we can actually use it 2020-04-22 22:50:36 +02:00
Deukhoofd 1b623c2b76
Support for getting the random engine from Random class. 2020-04-22 22:44:26 +02:00
Deukhoofd 7d98d5b467
Assert that max is higher than min on random. 2020-04-19 18:45:59 +02:00
Deukhoofd 460f9308a0
Fixed issue with Valgrind. 2020-04-04 18:01:35 +02:00
Deukhoofd 6f60cd7c96
Rework of Random class. Now ensures better randomness, is more performant, and has function for retrieving seed. 2020-04-04 17:48:05 +02:00
Deukhoofd 5d620e8ee7
Tweaks for Random class. 2020-02-26 13:27:56 +01:00
Deukhoofd 01f1d65739
Initial commit. 2020-02-26 12:57:18 +01:00