mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 05:43:47 +00:00
32 lines
867 B
C++
32 lines
867 B
C++
///////////////////////////////////////////////////////////////////////////////
|
|
// 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 CXboxViewport : public CViewport
|
|
{
|
|
public:
|
|
CXboxViewport();
|
|
CXboxViewport( const Mth::Rect *rect, Gfx::Camera *cam = NULL );
|
|
virtual ~CXboxViewport();
|
|
|
|
private: // It's all private, as it is machine specific
|
|
// virtual void plat_initialize();
|
|
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
|