Update sparse_mat33_view.h

This commit is contained in:
Irlan 2019-05-31 12:29:18 -03:00
parent 2e65edc6a8
commit f2c7eb64ed

View File

@ -85,12 +85,7 @@ inline const b3Mat33& b3SparseMat33View::operator()(u32 i, u32 j) const
{
B3_ASSERT(i < rowCount);
B3_ASSERT(j < rowCount);
if (i > j)
{
b3Swap(i, j);
}
b3RowValueArray* vs = rows + i;
for (u32 c = 0; c < vs->count; ++c)