Files
BlitzNext/Runtime/blitz3d/light.hpp
T
Michael Fabian 'Xaymar' Dirks 3afa84df85 runtime/blitz3d: Fixup C++ification
2019-01-18 21:26:42 +01:00

33 lines
437 B
C++

#pragma once
#include "geom.hpp"
#include "object.hpp"
class World;
class gxLight;
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;
};