#include <array>#include <stdexcept>#include <cstdint>#include <limits>#include <type_traits>#include <promeki/core/namespace.h>#include <promeki/core/platform.h>#include <promeki/core/error.h>

Go to the source code of this file.
Macros | |
| #define | PROMEKI_ASSERT(x) |
| #define | PROMEKI_STATIC_ASSERT(x) static_assert(x, __LINE__ ":" PROMEKI_STRINGIFY(__LINE__) " Assertion failed: " PROMEKI_STRINGIFY(x)); |
| #define | PROMEKI_STRINGIFY_ARGS(...) #__VA_ARGS__ |
| #define | PROMEKI_STRINGIFY_IMPL(value) #value |
| #define | PROMEKI_STRINGIFY(value) PROMEKI_STRINGIFY_IMPL(value) |
| #define | PROMEKI_CONCAT_IMPL(v1, v2) v1##v2 |
| #define | PROMEKI_CONCAT(v1, v2) PROMEKI_CONCAT_IMPL(v1, v2) |
| #define | PROMEKI_UNIQUE_ID PROMEKI_CONCAT(__LINE__, __COUNTER__) |
| #define | PROMEKI_ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) |
| #define | PROMEKI_ALIGN_UP(x, align) (((x) + ((align) - 1)) & ~((align) - 1)) |
| #define | PROMEKI_PRINTF_FUNC(m, n) |
| #define | PROMEKI_PACKED_STRUCT_BEGIN |
| #define | PROMEKI_PACKED_STRUCT_END |
Functions | |
| StringList | promekiStackTrace (bool demangle=true) |
| template<typename OutputType , typename InputType > | |
| OutputType | promekiConvert (const InputType &input, Error *err=nullptr) |
| template<typename T > | |
| T | promekiLerp (const T &a, const T &b, const double &t) |
| template<typename T > | |
| T | promekiCatmullRom (const std::array< T, 4 > &points, T t) |
| template<typename T > | |
| T | promekiBezier (const std::array< T, 4 > &points, T t) |
| template<typename T > | |
| T | promekiBicubic (const std::array< std::array< T, 4 >, 4 > &points, T x, T y) |
| template<typename T > | |
| T | promekiCubic (const std::array< T, 4 > &points, T t) |
See LICENSE file in the project root folder for license information.
| #define PROMEKI_ASSERT | ( | x | ) |