Comment fix

This commit is contained in:
Dominic committed 2022-06-13 15:44:37 -05:00
1 parent 9b76ff33dc
commit 7c2f06d82f
1 file changed
+1 -1
+1 -1
View File
@@ -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])