correct the comment in Graphics_pipeline::run::solve_for_t
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 28 Aug 2017 10:14:50 +0000 (03:14 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 28 Aug 2017 10:14:50 +0000 (03:14 -0700)
src/pipeline/pipeline.cpp

index 9c7cd938d5a20653348e2ab02f3dc5764cf66477..9561930347353f3ba388a6377847241a3327438f 100644 (file)
@@ -500,7 +500,7 @@ void Graphics_pipeline::run(std::uint32_t vertex_start_index,
     };
     auto solve_for_t = [](float v0, float v1) noexcept->float
     {
-        // solves interpolate(t, v0, v1) == 0
+        // solves interpolate_float(t, v0, v1) == 0
         return v0 / (v0 - v1);
     };
     auto clip_edge = [solve_for_t, interpolate_vec4](const Vec4 &start_vertex,