aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/tri_vertex.cpp
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_vertex.cpp
parent824aa5562864ca90ea903e2fa7d99459bbdf3a0b (diff)
downloadengine-ff2c784d4c4100f0301628e8a52a6910d776d067.tar.gz
renamed tri{_deriv,}_vertex.{h,cpp} to tri{_deriv,}.{h,cpp}
Diffstat (limited to 'src/o3d/tri_vertex.cpp')
-rw-r--r--src/o3d/tri_vertex.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/o3d/tri_vertex.cpp b/src/o3d/tri_vertex.cpp
deleted file mode 100644
index 08f5e7e..0000000
--- a/src/o3d/tri_vertex.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "o3d/tri_vertex.h"
-#include <vector>
-#include "math/vector.h"
-#include "o3d/vertex_data.h"
-#include "o3d/deriv_vertex.h"
-#include "o3d/vertex.h"
-#include "o3d/tri_deriv_vertex.h"
-
-using namespace engine::o3d;
-
-TriangleVertex4::TriangleVertex4(Vertex4 vertex1, Vertex4 vertex2, Vertex4 vertex3) : vertex1{vertex1}, vertex2{vertex2}, vertex3{vertex3} {
-}
-
-TriangleDerivedVertex4 TriangleVertex4::to_derived() const {
- return {{vertex1.point, 1.f, 0.f}, {vertex2.point, 0.f, 1.f}, {vertex3.point, 0.f, 0.f}};
-}