code: drop obsolete librg call

isolation_bkp/dynres
Dominik Madarász 2022-07-31 12:58:00 +02:00
parent e655331950
commit 7b9f2a8de2
1 changed files with 0 additions and 5 deletions

View File

@ -289,11 +289,6 @@ static void world_tracker_update(uint8_t ticker, float freq, uint8_t radius) {
for (int i = 0; i < it.count; i++) { for (int i = 0; i < it.count; i++) {
size_t datalen = WORLD_LIBRG_BUFSIZ; size_t datalen = WORLD_LIBRG_BUFSIZ;
// TODO(zaklaus): SUPER TEMPORARY HOT !!! simulate variable radius queries
{
librg_entity_radius_set(world_tracker(), it.entities[i], radius);
}
// TODO(zaklaus): push radius once librg patch comes in
int32_t result = librg_world_write(world_tracker(), it.entities[i], radius, buffer, &datalen, NULL); int32_t result = librg_world_write(world_tracker(), it.entities[i], radius, buffer, &datalen, NULL);
if (result > 0) { if (result > 0) {