Sam Hocevar
59a4b5bd0c
Clean up the half.h header and make it optional.
5 лет назад
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.
5 лет назад
Sam Hocevar
f0b8cfc6f2
Clean up the features.h header.
5 лет назад
Sam Hocevar
655beda5bd
It’s 2020, use [[nodiscard]] unconditionally.
5 лет назад
Sam Hocevar
fcc3757061
Use fallthrough attribute properly (using a trailing semicolon as an empty statement).
5 лет назад
Sam Hocevar
2626ce4efe
Make more headers private and remove unnecessary #includes.
5 лет назад
Sam Hocevar
e1ef913daa
Make the “real” functions more generic. Not specialising them speeds up compilation.
5 лет назад
Sam Hocevar
ca3fb5a4ba
Make the vector, matrix and transform-related classes header-only.
5 лет назад
Sam Hocevar
f30c17f180
Fix bug in real::real(int64_t) caused by undefined behaviour.
5 лет назад
Sam Hocevar
7a309a53d1
Various compilation fixes.
5 лет назад
Sam Hocevar
f579dbc881
Minor header refactoring.
5 лет назад
Sam Hocevar
29336e3d2f
math: quick fix for linking issues in the real class.
5 лет назад
Sam Hocevar
0ba2833bd4
Make a lot of headers work independently.
5 лет назад
Sam Hocevar
c45a494ad5
base: re-add the threading and getopt classes.
5 лет назад
Sam Hocevar
8d5891b88a
math: clean up the polynomial.h header.
5 лет назад
Sam Hocevar
a38dc4a104
base: add a proxy header for PEGTL.
5 лет назад
Sam Hocevar
742bb53bdd
base: add a features.h header.
5 лет назад
Sam Hocevar
80dafa8edf
math: clean up the Real class.
5 лет назад
Sam Hocevar
bf2ea0744e
base: clean up string utility functions.
5 лет назад
Sam Hocevar
155ae65a4e
Start working on the header-only part of the framework.
This implies creating a trimmed down branch that contains almost
nothing. It will then be usable by projects that do not need the
complex build system, and by the engine itself as a submodule from
the same repository.
5 лет назад