Update sparse_mat33_view.h
This commit is contained in:
parent
2e65edc6a8
commit
f2c7eb64ed
@ -85,12 +85,7 @@ inline const b3Mat33& b3SparseMat33View::operator()(u32 i, u32 j) const
|
|||||||
{
|
{
|
||||||
B3_ASSERT(i < rowCount);
|
B3_ASSERT(i < rowCount);
|
||||||
B3_ASSERT(j < rowCount);
|
B3_ASSERT(j < rowCount);
|
||||||
|
|
||||||
if (i > j)
|
|
||||||
{
|
|
||||||
b3Swap(i, j);
|
|
||||||
}
|
|
||||||
|
|
||||||
b3RowValueArray* vs = rows + i;
|
b3RowValueArray* vs = rows + i;
|
||||||
|
|
||||||
for (u32 c = 0; c < vs->count; ++c)
|
for (u32 c = 0; c < vs->count; ++c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user