summaryrefslogtreecommitdiff
path: root/model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.hpp')
-rw-r--r--model.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/model.hpp b/model.hpp
index 022ec27..3ededa7 100644
--- a/model.hpp
+++ b/model.hpp
@@ -85,7 +85,7 @@ struct Model_Loader : public Asset_Loader {
struct Material_Loader : public Asset_Loader {
Asset_Arena* textures;
Texture_Id default_tex;
- void init(Asset_Arena* texture_arena, Texture_Id dt);
+ void init(Asset_Arena* texture_arena);
Asset* load(
Arena* a,
Arena* s,
@@ -97,7 +97,6 @@ struct Material_Loader : public Asset_Loader {
struct Model_Resources {
Texture_Id env_cubemap;
- Texture_Id shadows;
Sampler_Id sampler;
Buffer_Id vp;
Buffer_Id globals;
@@ -111,6 +110,7 @@ struct Model_Instance {
Model* m;
AABB* bounds;
AABB bound;
+ v3f centre;
void init(Device* dev, Heap* h, Model* model);
void destroy(Device* dev, Heap* h);