fluid-like behavior that disintegrates over time
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b194cee9ab
commit
2394ae248d
@ -75,7 +75,7 @@
|
||||
/**
|
||||
* Percentage of presure to keep from last frame
|
||||
*/
|
||||
#define FLUID_PRESSURECELL_PRESSURE_BACKDOWN_FACTOR 1.0f
|
||||
#define FLUID_PRESSURECELL_PRESSURE_BACKDOWN_FACTOR 0.0f
|
||||
|
||||
/**
|
||||
* Pressure added on recapturing fluid pushed into borders
|
||||
|
||||
@ -43,7 +43,6 @@ LIBRARY_API void fluid_pressurecell_simulate(
|
||||
for(int i = 0; i < numChunks; i++){
|
||||
Chunk * currentChunk = chunks[i];
|
||||
fluid_pressurecell_clearArr(currentChunk->pressureTempCache);
|
||||
fluid_pressurecell_clearArr(currentChunk->pressureCache[CENTER_LOC]);
|
||||
fluid_pressurecell_clearArr(currentChunk->dTempCache);
|
||||
fluid_pressurecell_clearArr(currentChunk->uTempCache);
|
||||
fluid_pressurecell_clearArr(currentChunk->vTempCache);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user