www.pudn.com > MyGame.rar > Ast3D.h
// Ast3D.h: interface for the CAst3D class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_AST3D_H__0DBEF316_9B78_4A61_AADB_DA43DAE3623D__INCLUDED_)
#define AFX_AST3D_H__0DBEF316_9B78_4A61_AADB_DA43DAE3623D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Ast.h"
class CAst3D : public CAst
{
public:
virtual ~CAst3D();
CMesh M;
CAst3D(char *filename="ast.raw")
{
M.Open(filename);
}
CAst3D(const Point3f &_p, const float _angle, const Point3f &_v, float _av,float _size,char *filename="ast.raw"):
CAst(_p,_angle,_v,_av,_size)
{
M.Open(filename);
}
virtual int Draw();
};
#endif // !defined(AFX_AST3D_H__0DBEF316_9B78_4A61_AADB_DA43DAE3623D__INCLUDED_)