![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
Namespaces | |
namespace | detail |
Classes | |
class | Mat |
struct | QuatCompressed48 |
Lower precision Quat compressed to 6 bytes. More... | |
struct | QuatCompressed64 |
Lower precision Quat compressed to 8 bytes. More... | |
struct | Vec |
Concepts | |
concept | Arithmetic |
Typedefs | |
using | EulerAngles = Vec3f |
using | Quat = Vec4f |
Functions | |
template<Arithmetic T> | |
constexpr T | remap (T value, T l1, T h1, T l2, T h2) |
template<Arithmetic T> | |
constexpr T | remap (T value, T h1, T h2) |
constexpr bool | isPowerOf2 (std::unsigned_integral auto n) |
template<std::unsigned_integral T> | |
constexpr T | nearestPowerOf2 (T n) |
constexpr uint16_t | paddingForAlignment (uint16_t alignment, uint64_t n) |
SOURCEPP_VEC_DEFINE (2) | |
SOURCEPP_VEC_DEFINE (3) | |
SOURCEPP_VEC_DEFINE (4) | |
SOURCEPP_MAT_DEFINE (2, 2) | |
SOURCEPP_MAT_DEFINE (3, 3) | |
SOURCEPP_MAT_DEFINE (4, 4) | |
SOURCEPP_MAT_DEFINE (2, 3) | |
SOURCEPP_MAT_DEFINE (3, 2) | |
SOURCEPP_MAT_DEFINE (2, 4) | |
SOURCEPP_MAT_DEFINE (4, 2) | |
SOURCEPP_MAT_DEFINE (3, 4) | |
SOURCEPP_MAT_DEFINE (4, 3) | |
template<std::size_t L> | |
constexpr double | chebyshev (double x, const std::array< double, L > &array) |
constexpr double | besselI0 (double x) |
constexpr double | kaiserWindow (double x, double b) |
Variables | |
template<std::floating_point F> | |
constexpr F | pi = std::numbers::pi_v<F> |
constexpr auto | pi_f32 = pi<float> |
constexpr auto | pi_f64 = pi<double> |
using sourcepp::math::EulerAngles = typedef Vec3f |
using sourcepp::math::Quat = typedef Vec4f |
|
constexpr |
Definition at line 70 of file MathExtended.h.
|
constexpr |
Definition at line 17 of file MathExtended.h.
|
constexpr |
|
constexpr |
Definition at line 81 of file MathExtended.h.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 2 | , |
2 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 2 | , |
3 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 2 | , |
4 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 3 | , |
2 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 3 | , |
3 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 3 | , |
4 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 4 | , |
2 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 4 | , |
3 | |||
) |
sourcepp::math::SOURCEPP_MAT_DEFINE | ( | 4 | , |
4 | |||
) |
sourcepp::math::SOURCEPP_VEC_DEFINE | ( | 2 | ) |
sourcepp::math::SOURCEPP_VEC_DEFINE | ( | 3 | ) |
sourcepp::math::SOURCEPP_VEC_DEFINE | ( | 4 | ) |
|
constexpr |