diff --git a/legacy/lol/math/constants.h b/include/lol/math/constants.h similarity index 90% rename from legacy/lol/math/constants.h rename to include/lol/math/constants.h index 49185987..d75e9702 100644 --- a/legacy/lol/math/constants.h +++ b/include/lol/math/constants.h @@ -1,7 +1,7 @@ // // Lol Engine // -// Copyright © 2010—2015 Sam Hocevar +// Copyright © 2010—2020 Sam Hocevar // // Lol Engine is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it @@ -27,7 +27,7 @@ namespace lol static double const D_##name = (double)LD_##name; \ static float const F_##name = (float)LD_##name; -/* These values are truncated, not rounded, because I don’t care. */ +// These values get truncated, not rounded, because I don’t care much LOL_MATH_CONSTANT(TAU, 6.28318530717958647692528676655900576839433879875L) @@ -45,5 +45,5 @@ LOL_MATH_CONSTANT(SQRT_1_2, 0.70710678118654752440084436210484903928483593768L) #undef LOL_MATH_CONSTANT -} /* namespace lol */ +} // namespace lol diff --git a/include/lol/math/bigint.h b/include/lol/types/bigint.h similarity index 100% rename from include/lol/math/bigint.h rename to include/lol/types/bigint.h diff --git a/include/lol/math/half.h b/include/lol/types/half.h similarity index 100% rename from include/lol/math/half.h rename to include/lol/types/half.h diff --git a/include/lol/math/private/real.ipp b/include/lol/types/private/real.ipp similarity index 100% rename from include/lol/math/private/real.ipp rename to include/lol/types/private/real.ipp diff --git a/include/lol/math/real.h b/include/lol/types/real.h similarity index 100% rename from include/lol/math/real.h rename to include/lol/types/real.h