nov_displays
int32_t nov_displays(NovClient* c, NovDisplay* out, int32_t max);
Returns what must be displayed now.
Positions are already smoothed: the delay adapts to each player, without sliding or jumping.
Parameters#
- c (
NovClient*): client returned bynov_create - out (
NovDisplay*): array to fill - max (
int32_t): size of the array
Returns#
int32_t: number of elements filled
Example#
NovDisplay shown[256];
int n = nov_displays(c, shown, 256);
for (int i = 0; i < n; ++i) place(shown[i].id, shown[i].pos, shown[i].yaw);