VIPRA Documentation
|
Target Modifier for direction to target. More...
#include <modifier_direction.hpp>
Public Member Functions | |
ModifierDirection (Direction direction) | |
auto | operator() (Simpack pack, VIPRA::idx targetIdx, VIPRA::idx selfIdx) const -> bool |
Returns true if the target is in the desired direction. | |
Target Modifier for direction to target.
|
inline |
Returns true if the target is in the desired direction.
pack | : simulation pack |
targetIdx | : target to check |
selfIdx | : pedestrain looking for target |