From bf39fef7eed69e6d5ecfa272607cbf0fcc53b9a6 Mon Sep 17 00:00:00 2001 From: vimene Date: Sat, 9 Dec 2023 06:33:39 +0100 Subject: fixed perspective calculations --- src/o3d/vertex.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/o3d/vertex.cpp') diff --git a/src/o3d/vertex.cpp b/src/o3d/vertex.cpp index 641eef4..ec9c05f 100644 --- a/src/o3d/vertex.cpp +++ b/src/o3d/vertex.cpp @@ -12,7 +12,3 @@ Vertex4::Vertex4(engine::math::Vector4 point, VertexData data) : point{point}, d Vertex4::Vertex4(Vertex3 vertex) : point{vertex.point}, data{vertex.data} { } - -Vertex3 Vertex4::div_by_w() const { - return {point.div_by_w(), data}; -} -- cgit v1.2.3