Epok Engine

EPOK RUNTIME

epok::collider_bounds

Function template · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Performs `collider bounds` as part of bounded AABB collision queries and movement.

Belongs to
epok
Header
collision.hpp
Overloads
1

Declaration

template
Declaration
template<class Number> inline AabbT<Number> collider_bounds(const ColliderT<Number>& c,const Affine<Number>& world)

Performs `collider bounds` as part of bounded AABB collision queries and movement.

ParameterTypeMeaning
cconst ColliderT<Number> &Not documented; consult the linked header.
worldconst Affine<Number> &Not documented; consult the linked header.

Returns: AabbT<Number>. Consult the linked header for its meaning.

Example sketch

C++ example
#include "collision.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Number

// Assume these named values have been initialized with valid data:
// const ColliderT<Number> & c
// const Affine<Number> & world

auto result = epok::collider_bounds<Number>(c, world);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/collision.hpp:98

Related members