#pragma once

#include <camera/scene.hpp>

namespace lt {

struct CameraComponent
{
	CameraComponent() = default;

	CameraComponent(const CameraComponent &) = default;

	CameraComponent(SceneCamera _camera, bool _isPrimary = false)
	    : camera(_camera)
	    , isPrimary(_isPrimary)
	{
	}

	operator SceneCamera() const
	{
		return camera;
	}

	SceneCamera camera;

	bool isPrimary {};
};

} // namespace lt
