mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
More warning fixes
This commit is contained in:
parent
ce51350b65
commit
da63357254
4 changed files with 6 additions and 6 deletions
|
@ -39,8 +39,8 @@ int AnimSkeleton::nameToJointIndex(const QString& jointName) const {
|
|||
return -1;
|
||||
}
|
||||
|
||||
size_t AnimSkeleton::getNumJoints() const {
|
||||
return _joints.size();
|
||||
int AnimSkeleton::getNumJoints() const {
|
||||
return (int)_joints.size();
|
||||
}
|
||||
|
||||
const AnimPose& AnimSkeleton::getAbsoluteBindPose(int jointIndex) const {
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
AnimSkeleton(const std::vector<FBXJoint>& joints);
|
||||
int nameToJointIndex(const QString& jointName) const;
|
||||
const QString& getJointName(int jointIndex) const;
|
||||
size_t getNumJoints() const;
|
||||
int getNumJoints() const;
|
||||
|
||||
// absolute pose, not relative to parent
|
||||
const AnimPose& getAbsoluteBindPose(int jointIndex) const;
|
||||
|
|
|
@ -233,8 +233,8 @@ bool Rig::jointStatesEmpty() {
|
|||
return _internalPoseSet._relativePoses.empty();
|
||||
}
|
||||
|
||||
size_t Rig::getJointStateCount() const {
|
||||
return _internalPoseSet._relativePoses.size();
|
||||
int Rig::getJointStateCount() const {
|
||||
return (int)_internalPoseSet._relativePoses.size();
|
||||
}
|
||||
|
||||
int Rig::indexOfJoint(const QString& jointName) const {
|
||||
|
|
|
@ -89,7 +89,7 @@ public:
|
|||
void initJointStates(const FBXGeometry& geometry, const glm::mat4& modelOffset);
|
||||
void reset(const FBXGeometry& geometry);
|
||||
bool jointStatesEmpty();
|
||||
size_t getJointStateCount() const;
|
||||
int getJointStateCount() const;
|
||||
int indexOfJoint(const QString& jointName) const;
|
||||
|
||||
void setModelOffset(const glm::mat4& modelOffsetMat);
|
||||
|
|
Loading…
Reference in a new issue