/* ==================================================================== * ÆÄ ÀÏ : DepthPlane.h * ¸ñ Àû : 2D, 2.5D ·£´õ¸µ ±âº» °´Ã¼ * ÀÛ ¼º ÀÚ : À̹ý¼® * ÀÛ ¼º ÀÏ : 2007.3 * ÁÖÀÇ»çÇ× : 2.5D °´Ã¼¸¦ ¸â¹ö·Î °¡Áö°í °ü¸®ÇÏ·Á´Â Ŭ·¡½º°¡ ²À »ó¼Ó¹Þ¾Æ¾ß ÇÒ °´Ã¼ * =================================================================== */ #pragma once struct sObject; /// class cPlane { public: virtual ~cPlane() {} // virtual void Update() = 0; virtual void Draw() = 0; /// ÁÂÇ¥ º¯È¯ ( world pos -> Screen pos ) static void WorldPtToScreenPt( NiCamera* pCam, const NiPoint3& pt, float& posX, float& posY, bool InScreen = true ); virtual bool PickPoint( float x, float y ) { return false; } virtual int GetType(){ return 0; } virtual void PreRender() {} protected: cPlane() {} };