eco2d/code/foundation/src/world/prediction.h

10 lines
341 B
C
Raw Normal View History

#pragma once
#include "world/entity_view.h"
2021-11-04 14:43:23 +00:00
float smooth_val(float cur, float tgt, float dt);
float smooth_val_spherical(float cur, float tgt, float dt);
2021-08-09 18:58:52 +00:00
void predict_receive_update(entity_view *d, entity_view *data);
2021-08-11 12:23:40 +00:00
void do_entity_fadeinout(uint64_t key, entity_view * data);
void lerp_entity_positions(uint64_t key, entity_view *data);