<commit_before>#ifndef LIB_DRAW_VIEW_HPP
#define LIB_DRAW_VIEW_HPP

#include <lib/include/types.hpp>

namespace lib
{
	namespace draw
	{
		class Camera
		{
		public:
			explicit Camera() {}
			explicit Camera(const Rectf32 &rectangle) : m_target{ rectangle } {}
			inline const Rectf32 &target() const { return m_target; }
			inline Rectf32 &target() { return m_target; }
			inline void setSize(const vector2df &size)
			{
				m_target.width = size.x;
				m_target.height = size.y;
			}<commit_msg>Added helpful function<commit_after>#ifndef LIB_DRAW_VIEW_HPP
#define LIB_DRAW_VIEW_HPP

#include <lib/include/types.hpp>

namespace lib
{
	namespace draw
	{
		class Camera
		{
		public:
			explicit Camera() {}
			explicit Camera(const Rectf32 &rectangle) : m_target{ rectangle } {}
			inline const Rectf32 &target() const { return m_target; }
			inline void setSize(const vector2df &size)
			{
				m_target.width = size.x;
				m_target.height = size.y;
			}
{'fraction_non_alphanumeric': 0.10251046025104603, 'fraction_numerical': 0.012552301255230125, 'mean_word_length': 3.8578680203045685, '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': '1426695', 'n_tokens_mistral': 390, 'n_tokens_neox': 331, 'n_words': 81}