Browse Source

Made Transform3D into a struct like FMatrix3x3, because it will probably never need private members.

David Piuva 6 months ago
parent
commit
efd9df6f94
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/DFPSR/math/Transform3D.h

+ 1 - 2
Source/DFPSR/math/Transform3D.h

@@ -29,8 +29,7 @@
 
 namespace dsr {
 
-class Transform3D {
-public:
+struct Transform3D {
 	FVector3D position;
 	FMatrix3x3 transform;
 	Transform3D() : position(0.0f, 0.0f, 0.0f), transform(FVector3D(1.0f, 0.0f, 0.0f), FVector3D(0.0f, 1.0f, 0.0f), FVector3D(0.0f, 0.0f, 1.0f)) {}