mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-10 20:45:35 +01:00
9 lines
319 B
Plaintext
9 lines
319 B
Plaintext
|
/// 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);
|
||
|
}
|