diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-10 00:01:06 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-10 00:01:06 +0000 |
commit | 1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d (patch) | |
tree | b24de0c366e79946a20dd9b8d802324a266c3347 /assetFactory/mutation.h | |
parent | Merge branch 'model-factory-fixup' (diff) | |
download | ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.tar.bz2 ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.tar.xz ilt-1a8323b8f91bb30d64f8b79d77e43e8a9bc0af1d.zip |
Mutation persists its own members
Diffstat (limited to 'assetFactory/mutation.h')
-rw-r--r-- | assetFactory/mutation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assetFactory/mutation.h b/assetFactory/mutation.h index e620955..2432174 100644 --- a/assetFactory/mutation.h +++ b/assetFactory/mutation.h @@ -1,5 +1,6 @@ #pragma once +#include "persistence.h" #include <glm/mat4x4.hpp> #include <glm/vec3.hpp> @@ -15,4 +16,7 @@ struct Mutation { glm::vec3 position {}; glm::vec3 rotation {}; glm::vec3 scale {1}; + +protected: + bool persist(Persistence::PersistenceStore & store); }; |