<commit_before>#ifndef UVR_BASE_H
#define UVR_BASE_H

#include<vector>
#include<string>

namespace uvr
{

struct Matrix4x4d
{
public:
	double data[4][4];
};

struct dimensions_t
{
	unsigned int x;
	unsigned int y;
	dimensions_t(unsigned int tx=0,unsigned int ty=0):
		x(tx),y(ty)
	{}
};

class Viewport
{
public:
	dimensions_t offset;
	dimensions_t size;
	Viewport()
	{}
	virtual ~Viewport()
	{}
};

class Distortion
{
public:
	struct Coord
	{
		float u,v;
	};
	
	class Map
	{
	public:
		std::vector<Coord> data;
		dimensions_t size;
	};<commit_msg>Added refactor<commit_after>#ifndef UVR_BASE_H
#define UVR_BASE_H

#include<vector>
#include<string>

namespace uvr
{

struct Matrix4x4d
{
public:
	double data[4][4];
};

struct Point2ui
{
	unsigned int x;
	unsigned int y;
	Point2ui(unsigned int tx=0,unsigned int ty=0):
		x(tx),y(ty)
	{}
};

class Viewport
{
public:
	Point2ui offset;
	Point2ui size;
	Viewport()
	{}
	virtual ~Viewport()
	{}
};

class Distortion
{
public:
	struct Coord
	{
		float u,v;
	};
	
	class Map
	{
	public:
		std::vector<Coord> data;
		Point2ui size;
	};
{'fraction_non_alphanumeric': 0.13160333642261354, 'fraction_numerical': 0.015755329008341055, 'mean_word_length': 4.4, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4349589', 'n_tokens_mistral': 467, 'n_tokens_neox': 454, 'n_words': 103}