const glm::vec3 aabb_pos(M[3].x, M[3].y, M[3].z);
const glm::vec3 delta = aabb_pos - ray.orig;
glm::vec3 t1(t_min, t_min, t_min), t2(t_max, t_max, t_max);
const glm::vec3 aabb_pos(M[3].x, M[3].y, M[3].z);
const glm::vec3 delta = aabb_pos - ray.orig;
glm::vec3 t1(t_min, t_min, t_min), t2(t_max, t_max, t_max);