mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
9 lines
319 B
Text
9 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);
|
||
|
}
|