Epok Engine

EPOK RUNTIME

epok::aabb2d_translated

Function · 1 overload

Function

Performs `aabb2d translated` as part of the world2d module.

Belongs to
epok
Header
world2d.hpp
Overloads
1

Declaration

Declaration
inline Aabb2D aabb2d_translated(Aabb2D box, const Fixed* delta)

Performs `aabb2d translated` as part of the world2d module.

ParameterTypeMeaning
boxAabb2DValue supplied for box. Keep referenced or pointed-to data valid for the complete call.
deltaconst Fixed *Value supplied for delta. Keep referenced or pointed-to data valid for the complete call.

Returns: Aabb2D. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "world2d.hpp"

// Assume these named values have been initialized with valid data:
// Aabb2D box
// const Fixed * delta

auto result = epok::aabb2d_translated(box, delta);

Why use it

It provides direct, allocation-conscious access to the world2d module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/world2d.hpp:329

Related members