From: Jacob Lifshay Date: Mon, 28 Aug 2017 10:14:50 +0000 (-0700) Subject: correct the comment in Graphics_pipeline::run::solve_for_t X-Git-Tag: gsoc-2017~13 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2ef810b903350712cebb2a78a8b20825cd9be01;p=kazan.git correct the comment in Graphics_pipeline::run::solve_for_t --- 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,