diff options
author | rodri <rgl@antares-labs.eu> | 2024-08-23 12:41:28 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-08-23 12:41:28 +0000 |
commit | 7dc2c0d02e6fb4fbdafb15bd66aa7d45768eb6ac (patch) | |
tree | 87b5bc8c10d218861cd7e2b22aafc965cef697f8 /graphics.h | |
parent | aad0e63683c0b66cdd8d30c0253aafc5e4da0ef0 (diff) | |
download | libgraphics-7dc2c0d02e6fb4fbdafb15bd66aa7d45768eb6ac.tar.gz libgraphics-7dc2c0d02e6fb4fbdafb15bd66aa7d45768eb6ac.tar.bz2 libgraphics-7dc2c0d02e6fb4fbdafb15bd66aa7d45768eb6ac.zip |
methods to add primitives and materials to a Model.
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |