games101-hw/06/Assignment6/Light.hpp

17 lines
275 B
C++
Raw Permalink Normal View History

2023-06-19 17:02:04 +08:00
//
// Created by Göksu Güvendiren on 2019-05-14.
//
#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;
};