mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
minor cleanup
This commit is contained in:
parent
66e779b87f
commit
07963f1af5
3 changed files with 7 additions and 6 deletions
|
@ -349,8 +349,11 @@ public:
|
|||
// The .x and .gltf formats pre-calculate this
|
||||
std::optional<core::matrix4> GlobalInversedMatrix;
|
||||
|
||||
// TODO friends?
|
||||
u16 JointID; // TODO refactor away: pointers -> IDs
|
||||
void setParent(SJoint *parent) {
|
||||
ParentJointID = parent ? parent->JointID : std::optional<u16>{};
|
||||
}
|
||||
|
||||
u16 JointID; // TODO refactor away: pointers -> IDs (problem: .x loader abuses SJoint)
|
||||
std::optional<u16> ParentJointID;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue