fix density inversion
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
4fa843b967
commit
abf819e5fd
@ -969,7 +969,7 @@ LIBRARY_API void fluid_pressurecell_recapture_density(Environment * env, Chunk *
|
||||
for(x = 0; x < DIM; x++){
|
||||
for(y = 0; y < DIM; y++){
|
||||
for(z = 0; z < DIM; z++){
|
||||
dArr[IX(x,y,z)] = dTemp[IX(x,y,z)];
|
||||
dArr[IX(x,y,z)] = fmax(0.0f,dTemp[IX(x,y,z)]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user