games101-hw/05/Code/Light.hpp

16 lines
241 B
C++
Raw Normal View History

2023-06-19 17:02:04 +08:00
#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;
};