<commit_before>#include "textureCube.h"

TextureCube::TextureCube(std::string _file, GLuint _slot, TextureOptions _options) : Texture(0, 0, _slot, _options) {
    
    load(_file);
}

void TextureCube::load(const std::string& _file) {
    unsigned int size;
    unsigned char* data = bytesFromResource(_file.c_str(), &size);
    unsigned char* pixels;
    int width, height, comp;
    
    pixels = stbi_load_from_memory(data,size, &width, &height, &comp, 0);

    size = width * height;
   
    m_width = width / 4;
    m_height = height / 3;
    
    for(int i = 0; i < 6; ++i) {<commit_msg>force stb_image to load in rgba format<commit_after>#include "textureCube.h"

TextureCube::TextureCube(std::string _file, GLuint _slot, TextureOptions _options) : Texture(0, 0, _slot, _options) {
    
    load(_file);
}

void TextureCube::load(const std::string& _file) {
    unsigned int size;
    unsigned char* data = bytesFromResource(_file.c_str(), &size);
    unsigned char* pixels;
    int width, height, comp;
    
    pixels = stbi_load_from_memory(data, size, &width, &height, &comp, STBI_rgb_alpha);

    size = width * height;
   
    m_width = width / 4;
    m_height = height / 3;
    
    for(int i = 0; i < 6; ++i) {
{'fraction_non_alphanumeric': 0.1306122448979592, 'fraction_numerical': 0.010612244897959184, 'mean_word_length': 3.4744525547445257, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2462915', 'n_tokens_mistral': 448, 'n_tokens_neox': 434, 'n_words': 113}