Add element write operator
This commit is contained in:
parent
8d0295f5b7
commit
3e5ff2257a
@ -48,6 +48,12 @@ struct b3Mat33
|
||||
return (&x.x)[i + 3 * j];
|
||||
}
|
||||
|
||||
// Write an indexed element from this matrix.
|
||||
float32& operator()(u32 i, u32 j)
|
||||
{
|
||||
return (&x.x)[i + 3 * j];
|
||||
}
|
||||
|
||||
// Add a matrix to this matrix.
|
||||
void operator+=(const b3Mat33& B)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user