NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Namespaces | Variables
CameraComponent.cpp File Reference

Provides basic camera functions for the rendering engine. More...

#include <d3dx9.h>
#include <windows.h>
#include "CameraComponent.h"
Include dependency graph for CameraComponent.cpp:

Go to the source code of this file.


namespace  GraphicsCore
 Namespace to contain every item that is related to the rendering engine. The name itself is a legacy, as is a lot of the code contain by it, from the Saturn V engine that built as part of Adam and Ricky's Engine class.


const float GraphicsCore::DEFAULT_NEAR_CLIP = 10.0f
const float GraphicsCore::DEFAULT_FAR_CLIP = 1000.0f
const float GraphicsCore::DEFAULT_FOV = D3DXToRadian(60.0f)
const D3DXVECTOR3 GraphicsCore::DEFAULT_OFFSET = D3DXVECTOR3(0.0f, 0.0f, 0.0f)
const D3DXQUATERNION GraphicsCore::DEFAULT_ROTATION = D3DXQUATERNION(0.0f, 0.0f, 0.0f, 1.0f)

Detailed Description

Provides basic camera functions for the rendering engine.

Brett Ramsey

For there to be a functioning rendering engine, an efficient camera system needs to be used. This is what this file is used for, to provide the basic functionalities of the camera system.

Definition in file CameraComponent.cpp.