couch/core/Light.h
2021-01-21 15:26:39 -06:00

23 lines
454 B
C++

#ifndef LIGHT_H
#define LIGHT_H
#include "types.h"
#include "Spatial.h"
class Light : public Spatial {
public:
Vector3 color;
cfloat ambient, diffuse, specular;
virtual Name GetType() const;
};
class DirectionalLight : public Light {
public:
Vector3 direction;
DirectionalLight();
DirectionalLight(Vector3 direction, Vector3 color, cfloat ambient, cfloat diffuse, cfloat specular);
virtual Name GetType() const;
};
#endif /* LIGHT_H */