Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
HFTracer.cpp File Reference
#include "precompiled.h"
#include "HFTracer.h"
#include "graphics/Patch.h"
#include "graphics/Terrain.h"
#include "maths/BoundingBoxAligned.h"
#include "maths/MathUtil.h"
#include "maths/Vector3D.h"
#include <cfloat>
Include dependency graph for HFTracer.cpp:

Functions

static bool RayTriIntersect (const CVector3D &v0, const CVector3D &v1, const CVector3D &v2, const CVector3D &origin, const CVector3D &dir, float &dist)
 
static bool TestTile (u16 *heightmap, int stride, int i, int j, const CVector3D &pos, const CVector3D &dir, CVector3D &isct)
 

Variables

static const int MARGIN_SIZE = 64
 

Function Documentation

◆ RayTriIntersect()

static bool RayTriIntersect ( const CVector3D v0,
const CVector3D v1,
const CVector3D v2,
const CVector3D origin,
const CVector3D dir,
float &  dist 
)
static

◆ TestTile()

static bool TestTile ( u16 heightmap,
int  stride,
int  i,
int  j,
const CVector3D pos,
const CVector3D dir,
CVector3D isct 
)
static

Variable Documentation

◆ MARGIN_SIZE

const int MARGIN_SIZE = 64
static