Pyrogenesis  trunk
Classes | Typedefs | Enumerations | Functions | Variables
SilhouetteRenderer.cpp File Reference
#include "precompiled.h"
#include "SilhouetteRenderer.h"
#include "graphics/Camera.h"
#include "graphics/HFTracer.h"
#include "graphics/Model.h"
#include "graphics/Patch.h"
#include "graphics/ShaderManager.h"
#include "maths/MathUtil.h"
#include "ps/Profile.h"
#include "renderer/Renderer.h"
#include "renderer/Scene.h"
#include <cfloat>
Include dependency graph for SilhouetteRenderer.cpp:

Classes

struct  Occluder
 
struct  Caster
 
struct  ActiveList
 

Typedefs

typedef uint32_t Entry
 

Enumerations

enum  { EDGE_IN, EDGE_OUT, POINT }
 

Functions

static Entry EntryCreate (int type, u16 id, u16 x)
 
static int EntryGetId (Entry e)
 
static int EntryGetType (Entry e)
 
static void ComputeScreenBounds (Occluder &occluder, const CBoundingBoxAligned &bounds, CMatrix3D &proj)
 
static void ComputeScreenPos (Caster &caster, const CVector3D &pos, CMatrix3D &proj)
 

Variables

int g_xres
 
int g_yres
 
static const bool g_DisablePreciseIntersections = false
 
static const int MAX_COORD = 16384
 

Typedef Documentation

typedef uint32_t Entry

Enumeration Type Documentation

anonymous enum
Enumerator
EDGE_IN 
EDGE_OUT 
POINT 

Function Documentation

static void ComputeScreenBounds ( Occluder occluder,
const CBoundingBoxAligned bounds,
CMatrix3D proj 
)
static
static void ComputeScreenPos ( Caster caster,
const CVector3D pos,
CMatrix3D proj 
)
static
static Entry EntryCreate ( int  type,
u16  id,
u16  x 
)
static
static int EntryGetId ( Entry  e)
static
static int EntryGetType ( Entry  e)
static

Variable Documentation

const bool g_DisablePreciseIntersections = false
static
int g_xres
int g_yres
const int MAX_COORD = 16384
static