]> git.sesse.net Git - nageru/blobdiff - flow.cpp
Fix a comment.
[nageru] / 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 {