SEGS  0.6.1-develop [39915b3b]
Super Entity Game Server
Functions | Variables
StateInterpolator.cpp File Reference
#include "StateInterpolator.h"
#include "Entity.h"
#include "Movement.h"
#include <glm/vec3.hpp>
#include <glm/common.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/constants.hpp>
#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <cmath>
#include <utility>
#include <array>
#include <vector>
#include <bitset>
Include dependency graph for StateInterpolator.cpp:

Functions

float get_interpolator_perturbation (int16_t a1, int level)
 
void interpolatePosUpdates (Entity *e, std::array< BinTreeEntry, 7 > &server_pos_update)
 
std::array< BinTreeEntry, 7 > interpolateBinTree (std::array< PosUpdate, 64 > vals, float min_error)
 
void entCalcInterp (Entity *ent, glm::mat4 *mat4, uint32_t time, glm::vec3 *next_pyr)
 
int storeBinTreesResult (BitStream &bs, const std::array< BinTreeEntry, 7 > &bintree)
 
int runTest (Entity &e)
 

Variables

bool g_interpolating = true
 
uint8_t g_interpolation_level = 2
 
uint8_t g_interpolation_bits = 1