From 34c4eb8d4956b693335a0c3e418b212c78d78f9b Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Fri, 3 Aug 2018 19:25:33 -0300 Subject: [PATCH] consistency --- include/bounce/dynamics/cloth/sparse_sym_mat33.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bounce/dynamics/cloth/sparse_sym_mat33.h b/include/bounce/dynamics/cloth/sparse_sym_mat33.h index ca0db20..af9f94b 100644 --- a/include/bounce/dynamics/cloth/sparse_sym_mat33.h +++ b/include/bounce/dynamics/cloth/sparse_sym_mat33.h @@ -204,10 +204,10 @@ inline void b3SparseSymMat33::Copy(const b3SparseSymMat33& _m) { B3_ASSERT(rowCount == _m.rowCount); - for (u32 row = 0; row < rowCount; ++row) + for (u32 i = 0; i < rowCount; ++i) { - b3RowValueList* vs1 = _m.rows + row; - b3RowValueList* vs2 = rows + row; + b3RowValueList* vs1 = _m.rows + i; + b3RowValueList* vs2 = rows + i; B3_ASSERT(vs2->count == 0);