Function ecs_make_pair

Synopsis

#include <include/flecs.h>

FLECS_API ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second)

Description

Make a pair id. This function is equivalent to using the ecs_pair macro, and is added for convenience to make it easier for non C/C++ bindings to work with pairs.

Parameters

first - The first element of the pair of the pair.

second - The target of the pair.

Source

Line 1817 in include/flecs.h.