mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
8 lines
319 B
Text
8 lines
319 B
Text
/// fd_rectangle_update(instance id)
|
|
function fd_rectangle_update(domain) {
|
|
// Updates the fluid dynamics rectangle, proceeding the simulation one step further.
|
|
// instance id: The instance id of the fluid dynamics rectangle to update.
|
|
|
|
fd_rectangle_update_velocity(domain);
|
|
fd_rectangle_update_material(domain);
|
|
}
|