mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-22 16:09:06 +00:00
Common: add transpose function to Matrix class
This commit is contained in:
parent
fce5f7c74e
commit
9a37c8081d
2 changed files with 47 additions and 6 deletions
|
@ -391,8 +391,9 @@ public:
|
|||
static void Multiply(const Matrix33& a, const Matrix33& b, Matrix33* result);
|
||||
static void Multiply(const Matrix33& a, const Vec3& vec, Vec3* result);
|
||||
|
||||
Matrix33 Inverted() const;
|
||||
float Determinant() const;
|
||||
Matrix33 Inverted() const;
|
||||
Matrix33 Transposed() const;
|
||||
|
||||
Matrix33& operator*=(const Matrix33& rhs)
|
||||
{
|
||||
|
@ -435,6 +436,7 @@ public:
|
|||
|
||||
float Determinant() const;
|
||||
Matrix44 Inverted() const;
|
||||
Matrix44 Transposed() const;
|
||||
|
||||
Matrix44& operator*=(const Matrix44& rhs)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue