mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Update Assimp from 5.2.3 to 5.2.5
This commit is contained in:
parent
ea7ca63301
commit
16f3710058
379 changed files with 14469 additions and 47175 deletions
|
|
@ -256,7 +256,7 @@ AssimpVertexBoneWeightList IVertexData::AssimpBoneWeights(size_t vertices) {
|
|||
for (VertexBoneAssignmentList::const_iterator iter = vertexWeights.begin(), end = vertexWeights.end();
|
||||
iter != end; ++iter) {
|
||||
std::vector<aiVertexWeight> &boneWeights = weights[iter->boneIndex];
|
||||
boneWeights.push_back(aiVertexWeight(static_cast<unsigned int>(vi), iter->weight));
|
||||
boneWeights.emplace_back(static_cast<unsigned int>(vi), iter->weight);
|
||||
}
|
||||
}
|
||||
return weights;
|
||||
|
|
@ -272,8 +272,7 @@ std::set<uint16_t> IVertexData::ReferencedBonesByWeights() const {
|
|||
|
||||
// VertexData
|
||||
|
||||
VertexData::VertexData() {
|
||||
}
|
||||
VertexData::VertexData() = default;
|
||||
|
||||
VertexData::~VertexData() {
|
||||
Reset();
|
||||
|
|
@ -310,8 +309,7 @@ VertexElement *VertexData::GetVertexElement(VertexElement::Semantic semantic, ui
|
|||
|
||||
// VertexDataXml
|
||||
|
||||
VertexDataXml::VertexDataXml() {
|
||||
}
|
||||
VertexDataXml::VertexDataXml() = default;
|
||||
|
||||
bool VertexDataXml::HasPositions() const {
|
||||
return !positions.empty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue