* | TOM EST EVRENU

This commit is contained in:
RedShip
2025-01-08 20:35:31 +01:00
parent ed7bd0f38b
commit ff3af20e13
6 changed files with 9 additions and 10 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/27 14:51:49 by TheRed #+# #+# */
/* Updated: 2024/12/23 18:38:38 by ycontre ### ########.fr */
/* Updated: 2025/01/08 20:09:47 by ycontre ### ########.fr */
/* */
/* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 18:29:41 by ycontre #+# #+# */
/* Updated: 2024/12/23 18:40:17 by ycontre ### ########.fr */
/* Updated: 2025/01/08 20:08:03 by ycontre ### ########.fr */
/* */
/* ************************************************************************** */
@ -106,7 +106,6 @@ void Scene::updateGPUData()
auto cube = static_cast<Cube *>(obj);
gpu_obj.position = cube->getPosition();
gpu_obj.vertex1 = cube->getSize();
gpu_obj.type = static_cast<int>(cube->getType());
}
else if (obj->getType() == Object::Type::PORTAL)
{