thug/Code/Gfx/NGPS/p_NxViewport.h

34 lines
869 B
C
Raw Normal View History

2016-02-13 21:39:12 +00:00
///////////////////////////////////////////////////////////////////////////////
// p_NxViewport.h
#ifndef __GFX_P_NX_VIEWPORT_H__
#define __GFX_P_NX_VIEWPORT_H__
#include "Gfx/NxViewport.h"
namespace Nx
{
/////////////////////////////////////////////////////////////////////////////////////
// Private classes
//
// Machine specific implementation of the CViewport
class CPs2Viewport : public CViewport
{
public:
CPs2Viewport();
CPs2Viewport(const Mth::Rect* rect, Gfx::Camera* cam = NULL);
virtual ~CPs2Viewport();
protected:
void update_render_vars();
private: // It's all private, as it is machine specific
virtual float plat_transform_to_screen_coord(const Mth::Vector & world_pos, float & screen_pos_x, float & screen_pos_y, ZBufferValue & screen_pos_z);
};
} // Namespace Nx
#endif