Epok Engine

EPOK RUNTIME

epok::CollisionWorld2D::sync

Method · 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.

Method

Replaces the whole live set in one call; slots beyond `count` become disabled and therefore produce trigger exits on the next update_triggers().

Belongs to
epok::CollisionWorld2D
Header
world2d.hpp
Overloads
1

Declaration

Declaration
void sync(const ColliderEntry2D* list, size_t count)

Replaces the whole live set in one call; slots beyond `count` become disabled and therefore produce trigger exits on the next update_triggers().

ParameterTypeMeaning
listconst ColliderEntry2D *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "world2d.hpp"

// Assume these named values have been initialized with valid data:
// const ColliderEntry2D * list
// size_t count

epok::CollisionWorld2D& object = /* obtain a valid instance */;

object.sync(list, count);

Trade-offs and warnings

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

Declared in runtime/world2d.hpp:497

Related members