aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/tri.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-12-11 12:37:19 +0100
committervimene <vincent.menegaux@gmail.com>2023-12-11 12:37:19 +0100
commitff2c784d4c4100f0301628e8a52a6910d776d067 (patch)
tree2b6c4c8e8f910be4c1737fb01ee637df6f10caeb /src/o3d/tri.h
parent824aa5562864ca90ea903e2fa7d99459bbdf3a0b (diff)
downloadengine-ff2c784d4c4100f0301628e8a52a6910d776d067.tar.gz
renamed tri{_deriv,}_vertex.{h,cpp} to tri{_deriv,}.{h,cpp}
Diffstat (limited to 'src/o3d/tri.h')
-rw-r--r--src/o3d/tri.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/o3d/tri.h b/src/o3d/tri.h
new file mode 100644
index 0000000..715f649
--- /dev/null
+++ b/src/o3d/tri.h
@@ -0,0 +1,22 @@
+#ifndef O3D_TRI_VERTEX_H
+#define O3D_TRI_VERTEX_H
+
+#include <vector>
+#include "o3d/vertex.h"
+#include "o3d/tri_deriv_vertex.h"
+
+namespace engine::o3d {
+
+class TriangleVertex4 {
+ public:
+ Vertex4 vertex1;
+ Vertex4 vertex2;
+ Vertex4 vertex3;
+
+ TriangleVertex4(Vertex4 vertex1, Vertex4 vertex2, Vertex4 vertex3);
+ TriangleDerivedVertex4 to_derived() const;
+};
+
+}
+
+#endif // O3D_TRI_VERTEX_H