Skip to content

Commit

Permalink
fix mesh util (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
T-rvw authored Jan 11, 2024
1 parent ee4fc41 commit 92c6cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@

# Examples

[AssetPipeline + OpenGL](https://github.com/Hinageshi01/CDSDK_Example)
[CatDogEngine](https://github.com/CatDogEngine/CatDogEngine)
[AssetPipeline + OpenGL](https://github.com/Hinageshi01/CDSDK_Example) - Outdated, use an old version.

# Learning Resources

Expand Down
2 changes: 1 addition & 1 deletion public/Utilities/MeshUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ std::optional<VertexBuffer> BuildVertexBufferForSkeletalMesh(const cd::Mesh& mes
{
return std::nullopt;
}
assert(skin.GetVertexBoneNameCount() == skin.GetVertexBoneWeightCount());
assert(skin.GetVertexBoneNameArrayCount() == skin.GetVertexBoneWeightArrayCount());

// TODO : refine hardcoded 4 bones.
uint32_t vertexMaxInfluenceCount = 4U;
Expand Down

0 comments on commit 92c6cf0

Please sign in to comment.