Sam Hocevar
7e540d8eff
Implement <lol/msg> to replace <lol/base/log.h> in the future.
4 yıl önce
Sam Hocevar
b85dc6cd00
Remove workaround for an old threading bug in Visual Studio 2013.
According to https://devblogs.microsoft.com/cppblog/stl-fixes-in-vs-2015-part-2/
this was fixed in VS 2015.
4 yıl önce
Sam Hocevar
0a7b6367d6
Update portable-file-dialogs and pegtl submodules.
4 yıl önce
Sam Hocevar
d21392096a
Fix GCC compilation issue.
4 yıl önce
Sam Hocevar
b8e54636b8
Merge branch 'wip/core-clipp' into core
4 yıl önce
Sam Hocevar
415409d2a7
Use <lol/cli> and namespace lol::cli for argument parser API.
4 yıl önce
Sam Hocevar
dead6fe3bf
Fix unresolved symbol issue introduced by recent OS X fixes.
4 yıl önce
Sam Hocevar
93ad6b7ab1
Fix g++ compilation on OS X Catalina.
4 yıl önce
Sam Hocevar
b5a498ad14
Try to use the clipp library for argument parsing.
4 yıl önce
Sam Hocevar
29758c1458
Math: simplify vector swizzling rules.
4 yıl önce
Sam Hocevar
3bceb0b46f
Math: remove some obsolete swizzling members for vectors.
4 yıl önce
Sam Hocevar
7eb81936e2
containers: add insert_at() utility function.
4 yıl önce
Sam Hocevar
c1645f5e8b
Add a pair of headers to guard against intrusive Windows macros.
4 yıl önce
Sam Hocevar
6d98787e9e
Change the arraynd size query API.
Now size() returns the total number of elements, and sizes() returns an
N-dimensional vector containing each size separately.
4 yıl önce
Sam Hocevar
b85c7adfe6
Big header refactor yet again.
Let’s see how it goes with a very flat hierarchy and no .h extension.
4 yıl önce
Sam Hocevar
68adfe975f
Clean up math/functions.h header.
4 yıl önce
Sam Hocevar
342c9ea0fd
Add portable-file-dialogs submodule to 3rdparty.
4 yıl önce
Sam Hocevar
4bad4a9cdf
Remove undocumented variable in getopt().
4 yıl önce
Sam Hocevar
e6472db0b5
Add C string variants of starts_with() and ends_with().
4 yıl önce
Sam Hocevar
8ea7dcfbcf
Move noise functions to the clean header namespace.
4 yıl önce
Sam Hocevar
c1d74196da
Add a few helper functions for std::vector.
4 yıl önce
Sam Hocevar
e7984246c3
Move portal.h to legacy directory; I don’t know what to do with it.
4 yıl önce
Sam Hocevar
ec5f308bd3
Clean up abs/fabs discrepancies here and there.
4 yıl önce
Sam Hocevar
6f84e24794
Remove all usage of lol::array in the standalone headers.
4 yıl önce
Sam Hocevar
c1aac56766
Replace lol::array with std::vector in aabb_tree.h.
4 yıl önce
Sam Hocevar
4446947aec
Use std::tuple for our custom dynamic arrays.
4 yıl önce
Sam Hocevar
ecc3aee6e1
Various Windows compilation fixes.
4 yıl önce
Sam Hocevar
d05eb96665
Improve standalone inclusion support.
4 yıl önce
Sam Hocevar
20f39ee086
Refactor arraynd class.
Use size_t instead of ptrdiff_t and reduce header usage.
4 yıl önce
Sam Hocevar
2235ce1635
Various compilation fixes.
4 yıl önce
Sam Hocevar
f65ab0fa1e
Fix Windows compilation.
4 yıl önce
Sam Hocevar
c696030648
Add <lol/base/lolunit.h> header for unit tests.
4 yıl önce
Sam Hocevar
02bb54bdf9
Refactor the color class.
This code is not of very good quality, but a few methods such as the
RGB/HSV/HSL/YUV conversions are still useful, so I’m deciding to keep
them for now.
4 yıl önce
Sam Hocevar
4b81463015
Fix some warnings reported by Visual Studio.
4 yıl önce
Sam Hocevar
71d9bc1ec8
Move math types to a separate types/ subdirectory.
4 yıl önce
Sam Hocevar
c042850637
Clean up bigint.h header.
4 yıl önce
Sam Hocevar
59a4b5bd0c
Clean up the half.h header and make it optional.
4 yıl önce
Sam Hocevar
38ee6b26e9
Use <stdint.h> instead of <cstdint>.
This is because <cstdint> is not guaranteed to expose C99 types to the
global namespace, and we don’t want to go through the hassle of using
each of them one by one.
4 yıl önce
Sam Hocevar
f0b8cfc6f2
Clean up the features.h header.
4 yıl önce
Sam Hocevar
655beda5bd
It’s 2020, use [[nodiscard]] unconditionally.
4 yıl önce
Sam Hocevar
fcc3757061
Use fallthrough attribute properly (using a trailing semicolon as an empty statement).
4 yıl önce
Sam Hocevar
2626ce4efe
Make more headers private and remove unnecessary #includes.
4 yıl önce
Sam Hocevar
5c7ef8d898
Update todo list.
4 yıl önce
Sam Hocevar
e1ef913daa
Make the “real” functions more generic. Not specialising them speeds up compilation.
4 yıl önce
Sam Hocevar
ca3fb5a4ba
Make the vector, matrix and transform-related classes header-only.
4 yıl önce
Sam Hocevar
f30c17f180
Fix bug in real::real(int64_t) caused by undefined behaviour.
4 yıl önce
Sam Hocevar
7a309a53d1
Various compilation fixes.
4 yıl önce
Sam Hocevar
f579dbc881
Minor header refactoring.
4 yıl önce
Sam Hocevar
29336e3d2f
math: quick fix for linking issues in the real class.
4 yıl önce
Sam Hocevar
0ba2833bd4
Make a lot of headers work independently.
4 yıl önce