Replace uint by unsigned int
parent
1ee13872b1
commit
3c1423d5a5
|
@ -537,7 +537,7 @@ bool checkSkinnedScene(const aiScene *scene){
|
||||||
{0.049f, 0.000f, 0.000f, 0.000f}};
|
{0.049f, 0.000f, 0.000f, 0.000f}};
|
||||||
for (size_t boneIndex = 0; boneIndex < 10u; ++boneIndex) {
|
for (size_t boneIndex = 0; boneIndex < 10u; ++boneIndex) {
|
||||||
EXPECT_EQ(scene->mMeshes[0]->mBones[boneIndex]->mNumWeights, numWeights[boneIndex]);
|
EXPECT_EQ(scene->mMeshes[0]->mBones[boneIndex]->mNumWeights, numWeights[boneIndex]);
|
||||||
std::map<uint, float> map;
|
std::map<unsigned int, float> map;
|
||||||
for (size_t jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex){
|
for (size_t jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex){
|
||||||
auto key = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mVertexId;
|
auto key = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mVertexId;
|
||||||
auto weight = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mWeight;
|
auto weight = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mWeight;
|
||||||
|
@ -584,7 +584,7 @@ void checkSkinnedSceneLimited(const aiScene *scene){
|
||||||
{0.000f, 0.000f, 0.000f, 0.000f}};
|
{0.000f, 0.000f, 0.000f, 0.000f}};
|
||||||
for (size_t boneIndex = 0; boneIndex < 10u; ++boneIndex) {
|
for (size_t boneIndex = 0; boneIndex < 10u; ++boneIndex) {
|
||||||
EXPECT_EQ(scene->mMeshes[0]->mBones[boneIndex]->mNumWeights, numWeights[boneIndex]);
|
EXPECT_EQ(scene->mMeshes[0]->mBones[boneIndex]->mNumWeights, numWeights[boneIndex]);
|
||||||
std::map<uint, float> map;
|
std::map<unsigned int, float> map;
|
||||||
for (size_t jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex){
|
for (size_t jointIndex = 0; jointIndex < scene->mMeshes[0]->mBones[boneIndex]->mNumWeights; ++jointIndex){
|
||||||
auto key = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mVertexId;
|
auto key = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mVertexId;
|
||||||
auto weight = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mWeight;
|
auto weight = scene->mMeshes[0]->mBones[boneIndex]->mWeights[jointIndex].mWeight;
|
||||||
|
|
Loading…
Reference in New Issue