Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
33 lines
641 B
C
33 lines
641 B
C
#ifndef FLUID_SIMULATOR_CELLULAR_H
|
|
#define FLUID_SIMULATOR_CELLULAR_H
|
|
|
|
#include "public.h"
|
|
#include "fluid/queue/chunk.h"
|
|
#include "fluid/env/environment.h"
|
|
|
|
|
|
/**
|
|
* Lateral diffusion rate of the fluids
|
|
*/
|
|
#define FLUID_CELLULAR_DIFFUSE_RATE2 0.1f
|
|
|
|
/**
|
|
* Gravity transfer rate/threshold
|
|
*/
|
|
#define FLUID_CELLULAR_DIFFUSE_RATE_GRAV 0.11f
|
|
|
|
/**
|
|
* Minimum density for lateral movement to occur
|
|
*/
|
|
#define FLUID_CELLULAR_SURFACE_TENSION_CONST 0.4
|
|
|
|
/**
|
|
* Simulates the cellular chunk queue
|
|
* @param environment The environment storing the simulation queues
|
|
*/
|
|
LIBRARY_API void fluid_cellular_simulate(Environment * environment);
|
|
|
|
|
|
|
|
|
|
#endif |