esp::core namespace

Core Habitat functionality.

Namespaces

namespace config
Configuration functionality.
namespace managedContainers

Classes

class Buffer
A class act as a data buffer.
class Random
struct RigidState
describes the state of a rigid object as a composition of rotation (quaternion) and translation.

Enums

enum class DataType { DT_NONE = 0, DT_INT8 = 1, DT_UINT8 = 2, DT_INT16 = 3, DT_UINT16 = 4, DT_INT32 = 5, DT_UINT32 = 6, DT_INT64 = 7, DT_UINT64 = 8, DT_FLOAT = 9, DT_DOUBLE = 10 }
Enumeration of data.

Functions

void initCoreBindings(pybind11::module& m)
Specify core bindings.
void throwIfInPythonOtherwiseAbort(const char* message)
For use in ESP_CHECK.
auto espLoggingSubsystem() -> logging::Subsystem
auto randomRotation() -> Magnum::Quaternion
generate a random rotation
template<typename T>
auto orthonormalizeRotationShear(const Magnum::Math::Matrix4<T>& transformation) -> Magnum::Math::Matrix4<T>

Variables

void(* throwInPython
The throwInPython function pointer gets filled during Python bindings startup. If it's nullptr, we're in plain C++ code.

Enum documentation

enum class esp::core::DataType

Enumeration of data.

Function documentation

void esp::core::initCoreBindings(pybind11::module& m)

Specify core bindings.

void esp::core::throwIfInPythonOtherwiseAbort(const char* message)

For use in ESP_CHECK.

Magnum::Quaternion esp::core::randomRotation()

generate a random rotation

Returns a unit quternion

template<typename T>
Magnum::Math::Matrix4<T> esp::core::orthonormalizeRotationShear(const Magnum::Math::Matrix4<T>& transformation)

Variable documentation

void(* esp::core::throwInPython

The throwInPython function pointer gets filled during Python bindings startup. If it's nullptr, we're in plain C++ code.