summaryrefslogtreecommitdiff
path: root/Runtime/Rendering/Quad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Rendering/Quad.cpp')
-rw-r--r--Runtime/Rendering/Quad.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Runtime/Rendering/Quad.cpp b/Runtime/Rendering/Quad.cpp
index 4c58674..dae1152 100644
--- a/Runtime/Rendering/Quad.cpp
+++ b/Runtime/Rendering/Quad.cpp
@@ -1,18 +1,19 @@
#include "../Math/Math.h"
#include "Quad.h"
#include "../Graphics/GfxDevice.h"
+#include "Runtime/Math/Math.h"
struct QuadVBOLayout
{
- Internal::Vector3 position;
- Internal::Vector2 uv;
+ Vector3 position;
+ Vector2 uv;
};
static CustomVertexLayout layout;
InitializeStaticVariables([]() {
VertexAttributeDescriptor POSITION = VertexAttributeDescriptor(0, 3, VertexAttrFormat_Float, sizeof(QuadVBOLayout));
- VertexAttributeDescriptor UV = VertexAttributeDescriptor(sizeof(Internal::Vector3), 2, VertexAttrFormat_Float, sizeof(QuadVBOLayout));
+ VertexAttributeDescriptor UV = VertexAttributeDescriptor(sizeof(Vector3), 2, VertexAttrFormat_Float, sizeof(QuadVBOLayout));
layout.attributes.push_back(POSITION);
layout.attributes.push_back(UV);