aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/deriv_vertex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/deriv_vertex.cpp')
-rw-r--r--src/o3d/deriv_vertex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/o3d/deriv_vertex.cpp b/src/o3d/deriv_vertex.cpp
index dcb2bff..7123b1c 100644
--- a/src/o3d/deriv_vertex.cpp
+++ b/src/o3d/deriv_vertex.cpp
@@ -3,9 +3,9 @@
using namespace engine::o3d;
-DerivedVertex4::DerivedVertex4(engine::math::Vector4 point, float b0, float b1) : point{point}, b0{b0}, b1{b1} {
+DerivedVertex::DerivedVertex(engine::math::Vector4 vertex, float b0, float b1) : vertex{vertex}, b0{b0}, b1{b1} {
}
-DerivedVertex4 DerivedVertex4::div_by_w() const {
- return {point.div_by_w(), b0, b1};
+DerivedVertex DerivedVertex::div_by_w() const {
+ return {vertex.div_by_w(), b0, b1};
}