VIPRA Documentation
|
Target modifier for distance to target. More...
#include <modifier_distance.hpp>
Public Member Functions | |
ModifierDistance (NumericValue value) | |
auto | operator() (Simpack pack, VIPRA::idx targetIdx, VIPRA::idx selfIdx) const -> bool |
Returns if target is within distance. | |
Target modifier for distance to target.
|
inline |
Returns if target is within distance.
pack | : simulation pack |
targetIdx | : target to check |
selfIdx | : pedsetrian looking for target |