Files
BlitzNext/blitz3d/planemodel.h
T
blitz-research 08a613ed0e Initial commit.
2014-01-31 08:23:00 +13:00

31 lines
560 B
C++

#ifndef PLANEMODEL_H
#define PLANEMODEL_H
#include "model.h"
#include "brush.h"
class PlaneModel : public Model{
public:
PlaneModel( int sub_divs );
PlaneModel( const PlaneModel &t );
~PlaneModel();
Entity *clone(){ return d_new PlaneModel( *this ); }
//model interface
bool render( const RenderContext &rc );
//object interface
bool collide( const Line &line,float radius,Collision *curr_coll,const Transform &tf );
Plane getRenderPlane()const;
private:
struct Rep;
Rep *rep;
virtual PlaneModel *getPlaneModel(){ return this; }
};
#endif