<commit_before>#ifndef LIGHT_H
#define LIGHT_H

class World;
#include "Point3D.h"
#include "Vector3D.h"
#include "RGBColor.h"

#include <vector>

class Rasterizer;

class Light {
protected:
  RGBColor m_color;

public:
  Light();
  Light(const RGBColor& color);
  ~Light();

  virtual const Vector3D getDirectionToPoint(const Point3D& position) const = 0;
  virtual const std::vector<double> getShadowMap(const World* world, const int image_height, const int image_width, Rasterizer * rasterizer_camera) const = 0;

  const RGBColor& getColor();
};


#endif /* LIGHT_H */
<commit_msg>Added shadow map size members<commit_after>#ifndef LIGHT_H
#define LIGHT_H

class World;
#include "Point3D.h"
#include "Vector3D.h"
#include "RGBColor.h"

#include <vector>

class Rasterizer;

class Light {
protected:
  RGBColor m_color;

  const int SHADOW_MAP_WIDTH = 800;
  const int SHADOW_MAP_HEIGHT = 600;

public:
  Light();
  Light(const RGBColor& color);
  ~Light();


  virtual const Point3D getPosition() const = 0;
  virtual const Vector3D getDirectionToPoint(const Point3D& position) const = 0;
  virtual const std::vector<double> getShadowMap(const World* world, const int image_height, const int image_width, Rasterizer * rasterizer_camera) const = 0;

  const RGBColor& getColor();
};


#endif /* LIGHT_H */

{'fraction_non_alphanumeric': 0.10703363914373089, 'fraction_numerical': 0.01529051987767584, 'mean_word_length': 5.1745283018867925, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5853145', 'n_tokens_mistral': 471, 'n_tokens_neox': 443, 'n_words': 130}