More boilerplate

This commit is contained in:
Dynamitos
2025-01-24 18:21:34 +01:00
parent a5950cd471
commit fff6d19bb2
12 changed files with 169 additions and 17 deletions
+6
View File
@@ -2,6 +2,7 @@
#include <array>
#include <glm/glm.hpp>
#include <algorithm>
#include "util/Ray.h"
struct AABB
{
@@ -42,6 +43,11 @@ struct AABB
max = glm::vec3(std::max(max.x, transformed.x), std::max(max.y, transformed.y), std::max(max.z, transformed.z));
}
}
bool intersects(Ray ray)
{
assert(false && "TODO");
return false;
}
static AABB combine(AABB lhs, AABB rhs)
{
AABB result = {