<commit_before>#ifndef RENDERCOMPONENT_H
#define RENDERCOMPONENT_H

#include <string>

using namespace std;

//This include is really ugly. Need it because HashGrid
//depends on width of textures. HashGrid uses rendercomponent
//to acquire these textures. So rendercomponent must have a copy
//of texturedata. Definition of texturedata is in rendersystem.
#include "rendersystem.hpp"

//Class containing render-relevant data (such as image identifier)
class RenderComponent {
 public:
 	string imagePath = "UNSET";
 	float xoffset = 0;
 	float yoffset = 0;

	//is set to y+height during runtime
	//used in painters algorithm
 	float zindex = 0;

	//Its not obvious how zindex_base differs from zindex:
	//zindex_base doesnt update to y+height, but is a
	//(typically) constant value. Used to force something
	//to be rendered before or after whatever is governed by zindex
	float zindex_base = 0;
};

#endif //RENDERCOMPONENT_H<commit_msg>removed unneccesary include in rendercomponent<commit_after>#ifndef RENDERCOMPONENT_H
#define RENDERCOMPONENT_H

#include <string>

//Class containing render-relevant data (such as image identifier)
class RenderComponent {
 public:
 	string imagePath = "UNSET";
 	float xoffset = 0;
 	float yoffset = 0;

	//is set to y+height during runtime
	//used in painters algorithm
 	float zindex = 0;

	//Its not obvious how zindex_base differs from zindex:
	//zindex_base doesnt update to y+height, but is a
	//(typically) constant value. Used to force something
	//to be rendered before or after whatever is governed by zindex
	float zindex_base = 0;
};

#endif //RENDERCOMPONENT_H
{'fraction_non_alphanumeric': 0.07439553626782393, 'fraction_numerical': 0.0049597024178549285, 'mean_word_length': 4.257328990228013, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6245339', 'n_tokens_mistral': 512, 'n_tokens_neox': 481, 'n_words': 199}