<commit_before>#include <iostream>

#include "mcrt/mcrt.hh"
#include "mcrt/color.hh"
#include "mcrt/image.hh"
#include "mcrt/camera.hh"
#include "mcrt/image_export.hh"
#include <vector>

int main(int, char**) {

    mcrt::Scene scene{};
    mcrt::Material dummyMaterial1{glm::dvec3(1.0,0.0,0.0)};
    mcrt::Material dummyMaterial2{glm::dvec3(0.0,1.0,0.0)};
    
    mcrt::Sphere sphere{glm::dvec3(0.0,0.0,-10.0),2.0, dummyMaterial1};
    mcrt::Sphere sphere2{glm::dvec3(0.0,0.0,-1.0),0.1, dummyMaterial2};
    
    scene.add(sphere);
    scene.add(sphere2);

    mcrt::Image renderImage { 512, 512 };
    renderImage.clear({0, 0, 0,  255});

    std::cout << "Image size: " << renderImage.getWidth() << "x" << renderImage.getHeight() << std::endl;
    std::cout << "Image aspect ratio: " << renderImage.getAspectRatio() << std::endl;<commit_msg>added some walls<commit_after>#include <iostream>

#include "mcrt/mcrt.hh"
#include "mcrt/color.hh"
#include "mcrt/image.hh"
#include "mcrt/camera.hh"
#include "mcrt/image_export.hh"
#include <vector>

int main(int, char**) {

    mcrt::Scene scene{};
    mcrt::Material frontWallMaterial{glm::dvec3(1.0,0.0,0.0)};
    mcrt::Material BackWallMaterial{glm::dvec3(0.0,1.0,0.0)};
    
    mcrt::Triangle wall11{
        glm::dvec3(0,5,-6),
        glm::dvec3(10,5,-6),
        glm::dvec3(0,-5,-6),
        frontWallMaterial
    };
    mcrt::Triangle wall12{
        glm::dvec3(0,-5,-6),
        glm::dvec3(10,5,-6),
        glm::dvec3(10,-5,-6),
        frontWallMaterial
    };

    scene.add(wall11);
    scene.add(wall12);

    mcrt::Triangle wall21{
        glm::dvec3(0,5,6),
        glm::dvec3(10,5,6),
        glm::dvec3(0,-5,6),
        BackWallMaterial
    };
    mcrt::Triangle wall22{
        glm::dvec3(0,-5,6),
        glm::dvec3(10,5,6),
        glm::dvec3(10,-5,6),
        BackWallMaterial
    };

    scene.add(wall21);
    scene.add(wall22);

    mcrt::Triangle wall31{
        glm::dvec3(0,5,-6),
        glm::dvec3(-3,5,0),
        glm::dvec3(0,-5,-6),
        BackWallMaterial
    };
    mcrt::Triangle wall32{
        glm::dvec3(0,-5,-6),
        glm::dvec3(-3,5,0),
        glm::dvec3(-3,-5,0),
        BackWallMaterial
    };

    scene.add(wall31);
    scene.add(wall32);

    mcrt::Image renderImage { 512, 512 };
    renderImage.clear({0, 0, 0,  255});

    std::cout << "Image size: " << renderImage.getWidth() << "x" << renderImage.getHeight() << std::endl;
    std::cout << "Image aspect ratio: " << renderImage.getAspectRatio() << std::endl;
{'fraction_non_alphanumeric': 0.2016706443914081, 'fraction_numerical': 0.07120127287191726, 'mean_word_length': 3.06957928802589, 'pattern_counts': {'":': 0, '<': 39, '<?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': '4245907', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1021, 'n_words': 139}