This commit is contained in:
Will
2026-03-29 16:16:15 +01:00
parent 3d573a200e
commit 1d349946d2
30 changed files with 23182 additions and 327 deletions

View File

@@ -6,7 +6,8 @@
#include <vector>
#include <memory>
#include <functional>
#include "ThreadPool.h"
#include "ThreadPool.h"
#include <glm/gtc/matrix_access.hpp>
// Forward declarations
@@ -80,6 +81,10 @@ private:
std::unordered_map<Primitive*, std::vector<glm::mat4>>& outBatches
);
static bool CullSphere(const glm::mat4& vp,
const glm::vec3& center,
float radius);
@@ -177,4 +182,4 @@ private:
glm::vec3 position_;
glm::vec3 rotation_;
glm::vec3 scale_{1.0f};
};
};