part_deflector_region - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the region of the given particle deflector in the given particle system. This is the area in which particles are deflected.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle deflector |
xmin | double | minimum x coordinate |
xmax | double | maximum x coordinate |
ymin | double | minimum y coordinate |
ymax | double | maximum y coordinate |
void: This function does not return anything.
// demonstrates setting the region of a particle deflector
part_deflector_region(sys, defl, x - 5, x + 5, y - 5, y + 5);
NOTOC