MercuryDisplay.h File Reference

#include "MercuryWindow.h"
#include "MercuryLight.h"
#include "MercuryTypes.h"
#include "MercuryVertex.h"
#include "MercuryParticle.h"
#include "MercuryMesh.h"
#include "MercuryMatrixStack.h"
#include "MercuryTexture.h"
#include "MercuryCamera.h"
#include "MercuryObject.h"
#include "MercuryText.h"
#include "MercuryGLState.h"
#include "MCQueue.h"

Go to the source code of this file.

Namespaces

namespace  InitialDisplayProperties

Classes

struct  LookAtInternals
struct  FrustumInfo
struct  Projection
class  RenderPacket
class  MercuryDisplay
 Used for controlling low-level display functions. More...
struct  MercuryDisplay::TranslucentPair
struct  MercuryDisplay::ProjectionTypeMatrix
struct  MercuryDisplay::PickedLightInfo

Functions

const int InitialDisplayProperties::InitialBasedWidth (640)
const int InitialDisplayProperties::InitialBasedHeight (480)
Projection Perspective (float fov, float aspect, float znear, float zfar)
MercuryMatrix Frustum (float left, float right, float bottom, float top, float zNear, float zFar)
Projection Ortho (float left, float right, float bottom, float top, float zNear, float zFar)
LookAtInternals CalculateLookAtMatrix (const MercuryPoint &eye, const MercuryPoint &center, const MercuryPoint &up, MercuryMatrix &m)
MercuryPoint PointToScreenCoord (const MercuryMatrix &proj, const MercuryMatrix &view, const MercuryPoint &p, const DisplayDimensions &bd)
MercuryDisplayMakeDisplayDriver ()
MercuryDisplayGetDisplay ()

Variables

MercuryMatrixStack WorldStack
MercuryMatrixStack TextureStack
MercuryDisplayDISPLAY


Function Documentation

LookAtInternals CalculateLookAtMatrix ( const MercuryPoint eye,
const MercuryPoint center,
const MercuryPoint up,
MercuryMatrix m 
)

Definition at line 272 of file MercuryDisplay.cpp.

MercuryMatrix Frustum ( float  left,
float  right,
float  bottom,
float  top,
float  zNear,
float  zFar 
)

Definition at line 587 of file MercuryDisplay.cpp.

MercuryDisplay* GetDisplay (  ) 

Definition at line 617 of file MercuryDisplay.cpp.

MercuryDisplay* MakeDisplayDriver (  ) 

Definition at line 411 of file MercuryDisplay.cpp.

Projection Ortho ( float  left,
float  right,
float  bottom,
float  top,
float  zNear,
float  zFar 
)

Definition at line 570 of file MercuryDisplay.cpp.

Projection Perspective ( float  fov,
float  aspect,
float  znear,
float  zfar 
)

Definition at line 551 of file MercuryDisplay.cpp.

MercuryPoint PointToScreenCoord ( const MercuryMatrix proj,
const MercuryMatrix view,
const MercuryPoint p,
const DisplayDimensions bd 
)

Definition at line 447 of file MercuryDisplay.cpp.


Variable Documentation

MercuryDisplay* DISPLAY

Definition at line 27 of file Mercury.cpp.

MercuryMatrixStack TextureStack

Definition at line 45 of file MercuryDisplay.cpp.

MercuryMatrixStack WorldStack

Definition at line 43 of file MercuryDisplay.cpp.


Hosted by SourceForge.net Logo