Epok Engine

EPOK RUNTIME

epok::interaction::distance_squared

Function · 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

Performs `distance squared` as part of the interaction module.

Belongs to
epok::interaction
Header
interaction.hpp
Overloads
1

Declaration

Declaration
inline uint64_t distance_squared(const Fixed* first,const Fixed* second)

Performs `distance squared` as part of the interaction module.

ParameterTypeMeaning
firstconst Fixed *Not documented; consult the linked header.
secondconst Fixed *Not documented; consult the linked header.

Returns: uint64_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "interaction.hpp"

// Assume these named values have been initialized with valid data:
// const Fixed * first
// const Fixed * second

auto result = epok::interaction::distance_squared(first, second);

Trade-offs and warnings

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

Declared in runtime/interaction.hpp:51

Related members