Coherence update
Audio: GetListenerDirection was using ALfloat and GetListenerRotation not. ByteArray: Two return *this, hazh is perturbing, is it intended ? String: Same ? Camera: Adds of security (don't think it's usefull) Parser: size() = 0 -> empty() Utility: update 13 to 14 was forgotten VertexDeclaration: same Former-commit-id: f6db5cd15e5a4dc5ac2af12366b18d1f6922b0e0
This commit is contained in:
@@ -632,19 +632,19 @@ bool NzMD5MeshParser::ParseMesh()
|
||||
}
|
||||
}
|
||||
|
||||
if (m_meshes[m_meshIndex].triangles.size() == 0)
|
||||
if (m_meshes[m_meshIndex].triangles.empty())
|
||||
{
|
||||
NazaraError("Mesh has no triangles");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_meshes[m_meshIndex].vertices.size() == 0)
|
||||
if (m_meshes[m_meshIndex].vertices.empty())
|
||||
{
|
||||
NazaraError("Mesh has no vertices");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_meshes[m_meshIndex].weights.size() == 0)
|
||||
if (m_meshes[m_meshIndex].weights.empty())
|
||||
{
|
||||
NazaraError("Mesh has no weights");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user