]> git.sesse.net Git - nageru/commitdiff
Fix a comment.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 22 Jul 2018 13:14:38 +0000 (15:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 22 Jul 2018 13:14:38 +0000 (15:14 +0200)
flow.cpp

index 4f869cba8de3562717fde4487fee93d70e89d0b9..f16eda22ac82e5458a85955bbed8b276c976d21e 100644 (file)
--- a/flow.cpp
+++ b/flow.cpp
@@ -695,11 +695,8 @@ void SetupEquations::exec(GLuint I_x_y_tex, GLuint I_t_tex, GLuint diff_flow_tex
        glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
 }
 
-// Calculate the smoothness constraints between neighboring pixels;
-// s_x(x,y) stores smoothness between pixel (x,y) and (x+1,y),
-// and s_y(x,y) stores between (x,y) and (x,y+1). We'll sample with
-// border color (0,0) later, so that there's zero diffusion out of
-// the border.
+// Actually solve the equation sets made by SetupEquations, by means of
+// successive over-relaxation (SOR).
 //
 // See variational_refinement.txt for more information.
 class SOR {