summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index 448acbb..a2c42e2 100644
--- a/graphics.h
+++ b/graphics.h
@@ -164,6 +164,9 @@ struct Model
ulong nmaterials;
Texture *tex; /* texture map (TODO get rid of it, use materials) */
+
+ int (*addprim)(Model*, Primitive);
+ int (*addmaterial)(Model*, Material);
};
struct Entity