Removed Identity test in TransformVertices
Former-commit-id: a9b3fc4ddd7af762e063f0faae3b0245e24f4e18
This commit is contained in:
@@ -28,9 +28,6 @@ NzBoxf NzComputeVerticesAABB(const T* vertices, unsigned int vertexCount)
|
||||
template<typename T>
|
||||
void NzTransformVertices(T* vertices, unsigned int vertexCount, const NzMatrix4f& matrix)
|
||||
{
|
||||
if (matrix.IsIdentity())
|
||||
return;
|
||||
|
||||
NzVector3f scale = matrix.GetScale();
|
||||
|
||||
for (unsigned int i = 0; i < vertexCount; ++i)
|
||||
|
||||
Reference in New Issue
Block a user