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