Renamed ComputeVerticesAABB function to ComputeAABB

Former-commit-id: 5e8381f8d09f583f6ef9b2919b082f3418644bce
This commit is contained in:
Lynix
2015-01-26 17:20:27 +01:00
parent 8f101812c3
commit 025fdf6846
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ bool NzStaticMesh::GenerateAABB()
{
// On lock le buffer pour itérer sur toutes les positions et composer notre AABB
NzBufferMapper<NzVertexBuffer> mapper(m_vertexBuffer, nzBufferAccess_ReadOnly);
m_aabb = NzComputeVerticesAABB(static_cast<const NzMeshVertex*>(mapper.GetPointer()), m_vertexBuffer->GetVertexCount());
m_aabb = NzComputeAABB(static_cast<const NzMeshVertex*>(mapper.GetPointer()), m_vertexBuffer->GetVertexCount());
return true;
}