games101-hw/05/Code/Light.hpp

16 lines
241 B
C++

#pragma once
#include "Vector.hpp"
class Light
{
public:
Light(const Vector3f& p, const Vector3f& i)
: position(p)
, intensity(i)
{}
virtual ~Light() = default;
Vector3f position;
Vector3f intensity;
};