/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* SceneParser.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: TheRed +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/12/26 21:37:37 by TheRed #+# #+# */ /* Updated: 2025/01/16 15:02:01 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef RT_SCENEPARSER__HPP # define RT_SCENEPARSER__HPP # include "RT.hpp" class SceneParser { public: SceneParser(Scene *scene); bool parseLine(const std::string &line); private: void parseMaterial(std::stringstream &line); void parseCamera(std::stringstream &line); Scene *_scene; std::map> object_parsers; }; #endif