Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Render.cpp File Reference
Include dependency graph for Render.cpp:

Functions

static void ConstructCircleOrClosedArc (const CSimContext &context, float x, float z, float radius, bool isCircle, float start, float end, SOverlayLine &overlay, bool floating, float heightOffset)
 
static void SplitLine (std::vector< std::pair< float, float > > &coords, float x1, float y1, float x2, float y2)
 
static CVector2D EvaluateSpline (float t, CVector2D a0, CVector2D a1, CVector2D a2, CVector2D a3, float offset)
 

Function Documentation

◆ ConstructCircleOrClosedArc()

static void ConstructCircleOrClosedArc ( const CSimContext context,
float  x,
float  z,
float  radius,
bool  isCircle,
float  start,
float  end,
SOverlayLine overlay,
bool  floating,
float  heightOffset 
)
static

◆ EvaluateSpline()

static CVector2D EvaluateSpline ( float  t,
CVector2D  a0,
CVector2D  a1,
CVector2D  a2,
CVector2D  a3,
float  offset 
)
static

◆ SplitLine()

static void SplitLine ( std::vector< std::pair< float, float > > &  coords,
float  x1,
float  y1,
float  x2,
float  y2 
)
static