mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
feat(matrix): add C44Matrix element constructor
This commit is contained in:
parent
2e64cb75da
commit
41f85dc8b7
2 changed files with 40 additions and 0 deletions
|
|
@ -20,6 +20,26 @@ class C44Matrix {
|
|||
float d1 = 0.0f;
|
||||
float d2 = 0.0f;
|
||||
float d3 = 1.0f;
|
||||
|
||||
// Member functions
|
||||
C44Matrix() = default;
|
||||
C44Matrix(float a0, float a1, float a2, float a3, float b0, float b1, float b2, float b3, float c0, float c1, float c2, float c3, float d0, float d1, float d2, float d3)
|
||||
: a0(a0)
|
||||
, a1(a1)
|
||||
, a2(a2)
|
||||
, a3(a3)
|
||||
, b0(b0)
|
||||
, b1(b1)
|
||||
, b2(b2)
|
||||
, b3(b3)
|
||||
, c0(c0)
|
||||
, c1(c1)
|
||||
, c2(c2)
|
||||
, c3(c3)
|
||||
, d0(d0)
|
||||
, d1(d1)
|
||||
, d2(d2)
|
||||
, d3(d3) {};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue