+ | Some opti

This commit is contained in:
RedShip
2025-01-23 19:44:55 +01:00
parent 896cd02e45
commit c050caa789
12 changed files with 39 additions and 197 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 18:30:18 by ycontre #+# #+# */
/* Updated: 2025/01/19 18:46:38 by ycontre ### ########.fr */
/* Updated: 2025/01/23 18:30:18 by ycontre ### ########.fr */
/* */
/* ************************************************************************** */
@ -89,6 +89,7 @@ struct GPUBvh
struct GPUBvhData
{
glm::mat4 transform;
glm::mat4 inv_transform;
alignas(16) glm::vec3 offset;
float scale;