DDraceNetwork Docs
render_map.cpp File Reference
#include <base/math.h>
#include <engine/graphics.h>
#include <engine/map.h>
#include <engine/textrender.h>
#include <engine/shared/config.h>
#include <engine/shared/datafile.h>
#include <engine/shared/map.h>
#include "render.h"
#include <game/generated/client_data.h>
#include <game/mapitems.h>
#include <game/mapitems_ex.h>
#include <chrono>
#include <cmath>
Include dependency graph for render_map.cpp:

Functions

static double CubicRoot (double x)
 
static float SolveBezier (float x, float p0, float p1, float p2, float p3)
 
static void Rotate (const CPoint *pCenter, CPoint *pPoint, float Rotation)
 

Function Documentation

◆ CubicRoot()

static double CubicRoot ( double  x)
static

◆ Rotate()

static void Rotate ( const CPoint pCenter,
CPoint pPoint,
float  Rotation 
)
static

◆ SolveBezier()

static float SolveBezier ( float  x,
float  p0,
float  p1,
float  p2,
float  p3 
)
static