summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSoftGPU/Triangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibSoftGPU/Triangle.h')
-rw-r--r--Userland/Libraries/LibSoftGPU/Triangle.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Userland/Libraries/LibSoftGPU/Triangle.h b/Userland/Libraries/LibSoftGPU/Triangle.h
new file mode 100644
index 0000000000..bf7a27e761
--- /dev/null
+++ b/Userland/Libraries/LibSoftGPU/Triangle.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
+ * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <LibSoftGPU/Vertex.h>
+
+namespace SoftGPU {
+
+struct Triangle {
+ Vertex vertices[3];
+};
+
+}