renderer can now load a path

This commit is contained in:
2025-02-04 19:06:41 +01:00
parent 2264ed7a8f
commit 9ab0212d03
10 changed files with 84 additions and 41 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 18:29:41 by ycontre #+# #+# */
/* Updated: 2025/02/04 03:11:24 by tomoron ### ########.fr */
/* Updated: 2025/02/04 16:43:33 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,7 +17,6 @@
Scene::Scene(std::string &name)
{
std::cout << "name : " << name << std::endl;
std::ifstream file(name);
std::string line;
_camera = new Camera(glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3(0.0f, 1.0f, 0.0f), -90.0f, 0.0f);