From 7c2f06d82f137548349268902607127e1ff006af Mon Sep 17 00:00:00 2001 From: Dominic Date: Mon, 13 Jun 2022 15:44:37 -0500 Subject: [PATCH] Comment fix --- Effects/FluidShaders.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Effects/FluidShaders.fx b/Effects/FluidShaders.fx index 9731758a06..f0ba5b72de 100644 --- a/Effects/FluidShaders.fx +++ b/Effects/FluidShaders.fx @@ -28,7 +28,7 @@ float4 CalculateDiffusion(float4 sampleColor : TEXCOORD, float2 coords : TEXCOOR // nextField[i, j] = currentField[i, j] + diffusionFactor * (totalCardinalState - currentField[i, j]) // However, this would considerably restrict the freedom of the simulation, as any visocity values above 1 would result // in overshooting estimations and cause unstable behavior. - // Instead of doing this instead of using the current state to calculate the next one, we attempt to solve for a state that when + // Instead of using the current state to calculate the next one, we attempt to solve for a state that when // done in reverse returns the original state. Mathematically, this is written like so: // currentField[i, j] = nextField[i, j] - diffusionFactor * (averageNextCardinalState - currentField[i, j])