From f2ef810b903350712cebb2a78a8b20825cd9be01 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 28 Aug 2017 03:14:50 -0700 Subject: [PATCH] correct the comment in Graphics_pipeline::run::solve_for_t --- src/pipeline/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline/pipeline.cpp b/src/pipeline/pipeline.cpp index 9c7cd93..9561930 100644 --- a/src/pipeline/pipeline.cpp +++ b/src/pipeline/pipeline.cpp @@ -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, -- 2.30.2