<commit_before>#include "light.hpp"

unsigned char LightSource::getRed() const {
    return color.red;
}

unsigned char LightSource::getGreen() const {
    return color.green;
}

unsigned char LightSource::getBlue() const {
    return color.blue;
}

unsigned char LightSource::getAlpha() const {
    return color.alpha;
}

Color LightSource::getColor() const {
    return color;
}

LightSource::LightSource(Color c, float i):color(c),intensity(i){
}

float PointLight::getIntensity() const {
    return intensity;
}

Point PointLight::getPoint() const {
    return point;
}

PointLight::PointLight(Color c, float i, Point p):LightSource(c,i),point(p){
}

float DirectionalLight::getI() const {
    return vector.i;
}

float DirectionalLight::getJ() const {
    return vector.j;
}

float DirectionalLight::getK() const {
    return vector.k;
}

Vector DirectionalLight::getVector() const {
    return vector;
}

DirectionalLight::DirectionalLight(Color c, float i, Vector v):LightSource(c,i),vector(v){
};

float SpotLight::getTheta() const {
    return theta;
}

Point SpotLight::getPoint() const {
    return point;
}

SpotLight::SpotLight(Color c, float i, Point p, Vector v, float t):DirectionalLight(c,i,v), point(p), theta(t){
};<commit_msg>Fixed trivial issues in light<commit_after>#include "light.hpp"

unsigned char LightSource::getRed() const {
    return color.red;
}

unsigned char LightSource::getGreen() const {
    return color.green;
}

unsigned char LightSource::getBlue() const {
    return color.blue;
}

unsigned char LightSource::getAlpha() const {
    return color.alpha;
}

Color LightSource::getColor() const {
    return color;
}

LightSource::LightSource(Color c, float i):color(c),intensity(i){
}

float PointLight::getIntensity() const {
    return intensity;
}

Point PointLight::getPoint() const {
    return point;
}

PointLight::PointLight(Color c, float i, Point p):LightSource(c,i),point(p){
}

float DirectionalLight::getI() const {
    return vector.i;
}

float DirectionalLight::getJ() const {
    return vector.j;
}

float DirectionalLight::getK() const {
    return vector.k;
}

Vector DirectionalLight::getVector() const {
    return vector;
}

DirectionalLight::DirectionalLight(Color c, float i, Vector v)
    : LightSource(c,i),
    vector(v)
{
}

float SpotLight::getTheta() const {
    return theta;
}

Point SpotLight::getPoint() const {
    return point;
}

SpotLight::SpotLight(Color c, float i, Point p, Vector v, float t)
    : DirectionalLight(c,i,v),
    theta(t),
    point(p)
{
}
{'fraction_non_alphanumeric': 0.1342281879194631, 'fraction_numerical': 0.0, 'mean_word_length': 4.733031674208145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3251731', 'n_tokens_mistral': 840, 'n_tokens_neox': 822, 'n_words': 205}