CommonLibVR
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{ 0.0 }
10  {}
11 
12  GMatrix3D& operator=(const GMatrix3D& 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[4][4]; // 00
23  private:
24  KEEP_FOR_RE()
25  };
26  static_assert(sizeof(GMatrix3D) == 0x40);
27 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: GMatrix3D.h:6
GMatrix3D()
Definition: GMatrix3D.h:8
GMatrix3D & operator=(const GMatrix3D &a_rhs)
Definition: GMatrix3D.h:12
float data[4][4]
Definition: GMatrix3D.h:22
Definition: AbsorbEffect.h:6