mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
change rigs role from assets to content units
This commit is contained in:
parent
7dfda981a8
commit
49aa64a033
16 changed files with 67 additions and 70 deletions
|
|
@ -64,7 +64,7 @@ namespace rigging {
|
|||
};
|
||||
|
||||
struct Rig {
|
||||
RigConfig* config;
|
||||
const RigConfig* config;
|
||||
Pose pose;
|
||||
Pose calculated;
|
||||
std::unordered_map<std::string, std::string> textures;
|
||||
|
|
@ -99,7 +99,7 @@ namespace rigging {
|
|||
Rig& rig,
|
||||
const glm::mat4& matrix) const;
|
||||
|
||||
Rig instance() {
|
||||
Rig instance() const {
|
||||
return Rig {
|
||||
this, Pose(nodes.size()), Pose(nodes.size()), {}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue