<commit_before>#pragma once

#include "Matrix.h"
#include "Common.h"
#include <vector>

namespace Device
{
	class DirectX;
};

namespace Rendering
{
	namespace Light
	{
		class LightForm;
	};

	struct TransformCB
	{
		Math::Matrix world;
		Math::Matrix worldInvTranspose;
	};
};

namespace Core
{
	class Object;
	class Transform;

	class Component
	{
	public:
		enum class Type{
			Mesh,
			Camera,
			Light,
			User
		};

	protected:
		Object	*_owner;

	public:
		Component();
		virtual ~Component(void);

	public:
		virtual void OnInitialize() = 0;
		virtual void OnUpdate(float deltaTime);
		virtual void OnUpdateTransformCB(const Device::DirectX*& dx, const Rendering::TransformCB& transformCB);
		virtual void OnRenderPreview();
		virtual void OnDestroy() = 0;

	public:
		virtual Component* Clone() const = 0;

	public:
		GET_SET_ACCESSOR(Owner, Object*, _owner);
	};
}<commit_msg>Component - 타입에 ReflectionProbe 추가<commit_after>#pragma once

#include "Matrix.h"
#include "Common.h"
#include <vector>

namespace Device
{
	class DirectX;
};

namespace Rendering
{
	namespace Light
	{
		class LightForm;
	};

	struct TransformCB
	{
		Math::Matrix world;
		Math::Matrix worldInvTranspose;
	};
};

namespace Core
{
	class Object;
	class Transform;

	class Component
	{
	public:
		enum class Type{
			Mesh,
			Camera,
			Light,
			ReflectionProbe,
			User
		};

	protected:
		Object	*_owner;

	public:
		Component();
		virtual ~Component(void);

	public:
		virtual void OnInitialize() = 0;
		virtual void OnUpdate(float deltaTime);
		virtual void OnUpdateTransformCB(const Device::DirectX*& dx, const Rendering::TransformCB& transformCB);
		virtual void OnRenderPreview();
		virtual void OnDestroy() = 0;

	public:
		virtual Component* Clone() const = 0;

	public:
		GET_SET_ACCESSOR(Owner, Object*, _owner);
	};
}
{'fraction_non_alphanumeric': 0.11019283746556474, 'fraction_numerical': 0.003305785123966942, 'mean_word_length': 4.218390804597701, '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': '6879748', 'n_tokens_mistral': 679, 'n_tokens_neox': 606, 'n_words': 166}