Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Camera.cpp File Reference
#include "precompiled.h"
#include "Camera.h"
#include "graphics/HFTracer.h"
#include "graphics/Terrain.h"
#include "maths/MathUtil.h"
#include "maths/Vector2D.h"
#include "maths/Vector4D.h"
#include "ps/Game.h"
#include "ps/World.h"
#include "renderer/Renderer.h"
#include "renderer/SceneRenderer.h"
#include "renderer/WaterManager.h"
Include dependency graph for Camera.cpp:

Macros

#define ADD_VISIBLE_POINT_TO_VIEWBOUNDS(POSITION)
 

Macro Definition Documentation

◆ ADD_VISIBLE_POINT_TO_VIEWBOUNDS

#define ADD_VISIBLE_POINT_TO_VIEWBOUNDS (   POSITION)
Value:
STMT( \
CVector4D v = viewProjection.Transform(CVector4D((POSITION).X, (POSITION).Y, (POSITION).Z, 1.0f)); \
if (v.W != 0.0f) \
viewPortBounds += CVector3D(v.X, v.Y, v.Z) * (1.0f / v.W); )
#define X(id)
Definition: CStrIntern.cpp:110
@ Y
Definition: Decompose.h:22
@ Z
Definition: Decompose.h:22
Definition: Vector3D.h:31
Definition: Vector4D.h:31
#define STMT(STMT_code__)
package code into a single statement.
Definition: code_generation.h:41