terrain.h

00001 /*
00002 * "PS2" Application Framework
00003 *
00004 * University of Abertay Dundee
00005 * May be used for educational purposed only
00006 *
00007 * Author - Dr Henry S Fortuna
00008 *
00009 * $Revision: 1.2 $
00010 * $Date: 2007/08/19 12:45:12 $
00011 *
00012 */
00013 
00014 #ifndef _TERRAIN_H_
00015 #define _TERRAIN_H_
00016 
00017 #include "PS2Defines.h"
00018 #include "pipeline.h"
00019 
00020 
00021 
00022 class CTerrain
00023 {
00024 public:
00025         CTerrain();
00026         ~CTerrain();
00027         
00028         void Render(void) const;
00029         
00030         void SetWorldMatrix(const Matrix4x4 & matWorld);
00031         
00032         void SetWVPMatrix(const Matrix4x4 & matWVP);
00033         
00034         void LoadTerrainData(void);
00035         
00036 protected:
00037 
00038         // Pointer to the data in Static DMA memory
00039         int m_iStaticAddr;
00040         
00041         // The world and WorldViewProjection Matrices
00042         Matrix4x4 m_World, m_WVP;
00043         
00044         // Check variables
00045         bool m_bWorldLoaded;    
00046 };
00047 
00048 
00049 #endif

Generated on Sun May 18 21:45:09 2008 for PS2X by  doxygen 1.5.4