CommonLibSSE (powerof3)
GMatrix2D.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class GMatrix2D
6  {
7  public:
9  data{ 0.0 }
10  {}
11 
12  GMatrix2D& operator=(const GMatrix2D& a_rhs)
13  {
14  for (std::size_t i = 0; i < std::extent<decltype(data), 0>::value; ++i) {
15  for (std::size_t j = 0; j < std::extent<decltype(data), 1>::value; ++j) {
16  data[i][j] = a_rhs.data[i][j];
17  }
18  }
19  return *this;
20  }
21 
22  float data[2][3]; // 00
23  };
24  static_assert(sizeof(GMatrix2D) == 0x18);
25 }
Definition: GMatrix2D.h:6
GMatrix2D & operator=(const GMatrix2D &a_rhs)
Definition: GMatrix2D.h:12
GMatrix2D()
Definition: GMatrix2D.h:8
float data[2][3]
Definition: GMatrix2D.h:22
Definition: AbsorbEffect.h:6