Epok Engine

EPOK RUNTIME

epok::aabb_may_touch

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 `aabb may touch` as part of bounded AABB collision queries and movement.

Belongs to
epok
Header
collision.hpp
Overloads
1

Declaration

template
Declaration
template<class Number> inline bool aabb_may_touch(const AabbT<Number>& a,const AabbT<Number>& b)

Performs `aabb may touch` as part of bounded AABB collision queries and movement.

ParameterTypeMeaning
aconst AabbT<Number> &Not documented; consult the linked header.
bconst AabbT<Number> &Not documented; consult the linked header.

Returns: bool. 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 AabbT<Number> & a
// const AabbT<Number> & b

auto result = epok::aabb_may_touch<Number>(a, b);

Trade-offs and warnings

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

Declared in runtime/collision.hpp:86

Related members