feat: fix scene loading that it loads from disk if not already loaded
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <glm/vec3.hpp>
|
||||
#include <destrum/Assets/AssetReference.h>
|
||||
|
||||
struct SkeletalAnimation {
|
||||
AssetReference assetReference;
|
||||
|
||||
struct Keyframe {
|
||||
float time;
|
||||
glm::vec3 translation;
|
||||
@@ -32,4 +35,4 @@ struct SkeletalAnimation {
|
||||
const std::vector<std::string>& getEventsForFrame(int frame) const;
|
||||
};
|
||||
|
||||
#endif // SKELETALANIMATION_H
|
||||
#endif // SKELETALANIMATION_H
|
||||
|
||||
Reference in New Issue
Block a user