From db7e94765c972ef940bf431e541dda4d893efc40 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 12 Jan 2025 00:14:16 +1100 Subject: calculate model bounds at compile time --- model.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'model.hpp') diff --git a/model.hpp b/model.hpp index f21c35e..204b73c 100644 --- a/model.hpp +++ b/model.hpp @@ -30,6 +30,7 @@ struct Mesh { int mvp_binding_depth; bool world_dirty; m4f world, local; + AABB bound; Shader_Id shader, depth_shader; Material* material; const m4f& get_world(Model& m); -- cgit v1.2.3-54-g00ecf