22#ifndef INCLUDED_HFTRACER
23#define INCLUDED_HFTRACER
Definition: HFTracer.h:32
bool CellIntersect(int cx, int cz, const CVector3D &origin, const CVector3D &dir, float &dist) const
Definition: HFTracer.cpp:106
CHFTracer(CTerrain &terrain)
Definition: HFTracer.cpp:44
CTerrain & m_Terrain
Definition: HFTracer.h:63
float m_CellSize
Definition: HFTracer.h:69
static bool PatchRayIntersect(CPatch *patch, const CVector3D &origin, const CVector3D &dir, CVector3D *out)
Intersects ray with a single patch.
Definition: HFTracer.cpp:275
float m_HeightScale
Definition: HFTracer.h:71
const u16 * m_Heightfield
Definition: HFTracer.h:65
size_t m_MapSize
Definition: HFTracer.h:67
bool RayIntersect(const CVector3D &origin, const CVector3D &dir, int &x, int &z, CVector3D &ipt) const
Definition: HFTracer.cpp:133
Definition: Vector3D.h:31
uint16_t u16
Definition: types.h:38
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:407