projects
/
kazan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a987f70
)
correct the comment in Graphics_pipeline::run::solve_for_t
author
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 28 Aug 2017 10:14:50 +0000
(
03:14
-0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 28 Aug 2017 10:14:50 +0000
(
03:14
-0700)
src/pipeline/pipeline.cpp
patch
|
blob
|
history
diff --git
a/src/pipeline/pipeline.cpp
b/src/pipeline/pipeline.cpp
index 9c7cd938d5a20653348e2ab02f3dc5764cf66477..9561930347353f3ba388a6377847241a3327438f 100644
(file)
--- 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,