Skip to content

Commit 8ecd3e2

Browse files
committed
move Quaternion include to cppfile and remove forward declaration that is not necessary
1 parent f79831b commit 8ecd3e2

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

Sources/Overload/OvMaths/include/OvMaths/FMatrix4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "OvMaths/API/export.h"
1616
#include "OvMaths/FVector3.h"
1717
#include "OvMaths/FVector4.h"
18-
#include "OvMaths/FQuaternion.h"
18+
1919

2020
namespace OvMaths
2121
{

Sources/Overload/OvMaths/include/OvMaths/FQuaternion.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515

1616
namespace OvMaths
1717
{
18-
/**
19-
* Forward declaration due to circular reference
20-
*/
21-
struct FMatrix4;
2218

2319
/**
2420
* Mathematic representation of a Quaternion with float precision

Sources/Overload/OvMaths/src/OvMaths/FMatrix4.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "OvMaths/FMatrix4.h"
1313
#include "OvMaths/FVector3.h"
14+
#include "OvMaths/FQuaternion.h"
1415

1516
const OvMaths::FMatrix4 OvMaths::FMatrix4::Identity = FMatrix4(1.f, 0.f, 0.f, 0.f,
1617
0.f, 1.f, 0.f, 0.f,

0 commit comments

Comments
 (0)