Files
BlitzNext/blitz3d/q3bspmodel.h
T

34 lines
641 B
C++
Raw Normal View History

2014-01-31 08:23:00 +13:00
#ifndef Q3BSPMODEL_H
#define Q3BSPMODEL_H
#include "model.h"
class Q3BSPModel : public Model{
public:
Q3BSPModel( const string &f,float gamma_adj );
Q3BSPModel( const Q3BSPModel &m );
~Q3BSPModel();
//Entity interface
2016-10-03 17:11:15 +02:00
Entity *clone(){ return new Q3BSPModel( *this ); }
2014-01-31 08:23:00 +13:00
//Object interface
virtual bool collide( const Line &line,float radius,Collision *curr_coll,const Transform &t );
//Model interface
Q3BSPModel *getBSPModel(){ return this; }
bool render( const RenderContext &rc );
void setAmbient( const Vector &t );
void setLighting( bool use_lmap );
bool isValid()const;
private:
struct Rep;
Rep *rep;
};
#endif