refactor Entities
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "typedefs.hpp"
|
||||
#include "data/dv_fwd.hpp"
|
||||
#include "util/Interpolation.hpp"
|
||||
|
||||
class Assets;
|
||||
@@ -50,7 +51,7 @@ namespace rigging {
|
||||
std::string name,
|
||||
std::string model,
|
||||
std::vector<std::unique_ptr<Bone>> bones,
|
||||
glm::vec3 offset
|
||||
const glm::vec3& offset
|
||||
);
|
||||
|
||||
void setModel(const std::string& name);
|
||||
@@ -89,6 +90,8 @@ namespace rigging {
|
||||
util::VecInterpolation<3, float> interpolation {false};
|
||||
|
||||
Skeleton(const SkeletonConfig* config);
|
||||
|
||||
dv::value serialize(bool saveTextures, bool savePose) const;
|
||||
};
|
||||
|
||||
class SkeletonConfig {
|
||||
|
||||
Reference in New Issue
Block a user