mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 08:10:26 +02:00
Ensure that absent bone names work (#284)
This commit is contained in:
@ -8,9 +8,6 @@
|
||||
|
||||
#include "ISkinnedMesh.h"
|
||||
#include "SMeshBuffer.h"
|
||||
#include "S3DVertex.h"
|
||||
#include "irrString.h"
|
||||
#include "matrix4.h"
|
||||
#include "quaternion.h"
|
||||
|
||||
namespace irr
|
||||
@ -84,10 +81,10 @@ namespace scene
|
||||
u32 getJointCount() const override;
|
||||
|
||||
//! Gets the name of a joint.
|
||||
const c8* getJointName(u32 number) const override;
|
||||
const std::optional<std::string> &getJointName(u32 number) const override;
|
||||
|
||||
//! Gets a joint number from its name
|
||||
s32 getJointNumber(const c8* name) const override;
|
||||
std::optional<u32> getJointNumber(const std::string &name) const override;
|
||||
|
||||
//! uses animation from another mesh
|
||||
bool useAnimationFrom(const ISkinnedMesh *mesh) override;
|
||||
|
Reference in New Issue
Block a user