Files
BlitzNext/Runtime/blitz3d/light.hpp
T
Michael Fabian 'Xaymar' Dirks 24788185aa runtime: CMake-ify
2019-01-18 15:55:06 +01:00

31 lines
481 B
C++

#ifndef LIGHT_H
#define LIGHT_H
#include "geom.hpp"
#include "object.hpp"
#include "../gxruntime/gxlight.hpp"
class World;
class Light : public Object{
public:
Light( int type );
~Light();
Light *getLight(){ return this; }
void setRange( float r );
void setColor( const Vector &v );
void setConeAngles( float inner,float outer );
bool beginRender( float tween );
gxLight *getGxLight()const{ return light; }
private:
friend class World;
gxLight *light;
};
#endif