<commit_before>#include "transformable.hpp"
#include <cmath>

namespace lib
{
	namespace draw
	{
		Transformable::Transformable() :
			//origin{ {0, 0} }, 
			position{ {0, 0} }, rotation{ {0.0f} }, scale{ vector2df{ 1, 1 } },
			m_transformation{ Transformation{} }, m_inverseTransformation{ Transformation{} } {}

		Transformable::~Transformable()
		{
		}

		void Transformable::move(const vector2df &offset)
		{
//			position = (position + offset);
		}

		const Transformation &Transformable::transformation()
		{
			// Recompute the combined transformation if needed
			if (transformationNeedUpdate())
			{
				f32 angle = -rotation * 3.141592654f / 180.f;<commit_msg>Move working<commit_after>#include "transformable.hpp"
#include <cmath>

namespace lib
{
	namespace draw
	{
		Transformable::Transformable() :
			//origin{ {0, 0} }, 
			position{ {0, 0} }, rotation{ {0.0f} }, scale{ vector2df{ 1, 1 } },
			m_transformation{ Transformation{} }, m_inverseTransformation{ Transformation{} } {}

		Transformable::~Transformable()
		{
		}

		void Transformable::move(const vector2df &offset)
		{
			position = (position.get() + offset);
		}

		const Transformation &Transformable::transformation()
		{
			// Recompute the combined transformation if needed
			if (transformationNeedUpdate())
			{
				f32 angle = -rotation * 3.141592654f / 180.f;
{'fraction_non_alphanumeric': 0.14179658500371195, 'fraction_numerical': 0.03711952487008166, 'mean_word_length': 4.048689138576779, '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': '1431432', 'n_tokens_mistral': 518, 'n_tokens_neox': 429, 'n_words': 98}