summaryrefslogtreecommitdiff
path: root/rsFileA3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsFileA3D.h')
-rw-r--r--rsFileA3D.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsFileA3D.h b/rsFileA3D.h
index 3ece4c94..056b5af4 100644
--- a/rsFileA3D.h
+++ b/rsFileA3D.h
@@ -21,6 +21,7 @@
#include "rsMesh.h"
#include <utils/String8.h>
+#include <utils/Asset.h>
#include "rsStream.h"
#include <stdio.h>
@@ -59,6 +60,7 @@ public:
};
bool load(FILE *f);
+ bool load(Asset *asset);
bool load(const void *data, size_t length);
size_t getNumIndexEntries() const;
@@ -83,6 +85,7 @@ protected:
const uint8_t * mData;
void * mAlloc;
uint64_t mDataSize;
+ Asset *mAsset;
OStream *mWriteStream;
Vector<A3DIndexEntry*> mWriteIndex;