<commit_before>#include "light/directional.h"

namespace Svit
{
	DirectionalLight::DirectionalLight (Vector3 _direction, Vector3 _color)
	{
		direction = _direction;		
		color = _color;
	}

	LightHit 
	DirectionalLight::get_light_hit (Point3 _point)
	{
		LightHit light_hit;
		light_hit.direction = direction;
		light_hit.distance = FLT_MAX;

		return light_hit; 
	}

	Vector3
	DirectionalLight::get_intensity (LightHit _hit)
	{
		(void) _hit;
		return color;			
	}
}
<commit_msg>Changed FLT_MAX to numeric_limits implementation<commit_after>#include "light/directional.h"

#include <limits>

namespace Svit
{
	DirectionalLight::DirectionalLight (Vector3 _direction, Vector3 _color)
	{
		direction = _direction;		
		color = _color;
	}

	LightHit 
	DirectionalLight::get_light_hit (Point3 _point)
	{
		LightHit light_hit;
		light_hit.direction = direction;
		light_hit.distance = std::numeric_limits<float>::max();

		return light_hit; 
	}

	Vector3
	DirectionalLight::get_intensity (LightHit _hit)
	{
		(void) _hit;
		return color;			
	}
}

{'fraction_non_alphanumeric': 0.09711538461538462, 'fraction_numerical': 0.007692307692307693, 'mean_word_length': 4.71978021978022, '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': '5598455', 'n_tokens_mistral': 403, 'n_tokens_neox': 367, 'n_words': 72}