mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
feat(matrix): add C44Matrix constructor for C4Quaternion
This commit is contained in:
parent
189085960f
commit
cf1cd164de
2 changed files with 39 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define TEMPEST_MATRIX_C_44MATRIX_HPP
|
||||
|
||||
class C3Vector;
|
||||
class C4Quaternion;
|
||||
|
||||
class C44Matrix {
|
||||
public:
|
||||
|
|
@ -45,6 +46,7 @@ class C44Matrix {
|
|||
, d1(d1)
|
||||
, d2(d2)
|
||||
, d3(d3) {};
|
||||
C44Matrix(const C4Quaternion& rotation);
|
||||
C44Matrix Adjoint() const;
|
||||
float Determinant() const;
|
||||
C44Matrix Inverse(float det) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue