-
Christopher Edward Ing authored
-corrected whitespace problems and replaced tabs with spaces -added cutoffDensity as a parameter for fluidForce, this allows for the adjustment of where density is considered zero. In many cases there is division by density which can result in extremely large values unless this parameter is adjusted correctly. -removed some unecessary declarations -changed calcNormal to return a Vector as opposed to a magnitude. This is still not implemented for surface tension calculations yet -added a break to measureFluidSize() so we don't iterate through all fluid particles unless we have to. -code still needs more clarification on the fluidgraphics side. would very much like to add viscosity to the createParticles dialog in future revision (hopefully within a few days) svn path=/branches/work/soc-step-fluids/step/; revision=1013486
b2b72021