esp/geo/geo.h file

Namespaces

namespace esp
Root namespace.
namespace esp::geo

Classes

struct esp::geo::Ray

Typedefs

using Transform = Eigen::Transform<float, 3, Eigen::Affine, Eigen::DontAlign>

Functions

auto convexHull2D(const std::vector<vec2f>& points) -> std::vector<vec2f>
auto getTransformedBB(const Magnum::Range3D& range, const Magnum::Matrix4& xform) -> Magnum::Range3D
Compute the axis-aligned bounding box which results from applying a transform to an existing bounding box.
template<typename T>
auto clamp(const T& n, const T& low, const T& high) -> T

Variables

static const vec3f ESP_UP
global/world up direction
static const vec3f ESP_GRAVITY
global/world gravity (down) direction
static const vec3f ESP_FRONT
global/world front direction
static const vec3f ESP_BACK
global/world back direction

Function documentation

Magnum::Range3D getTransformedBB(const Magnum::Range3D& range, const Magnum::Matrix4& xform)

Compute the axis-aligned bounding box which results from applying a transform to an existing bounding box.

Parameters
range The initial axis-aligned bounding box.
xform The desired transform to apply.
Returns The resulting, transformed axis-aligned bounding box.