#include <PartitionManager.h>
Inherits PartitionFilter.
Public Member Functions | |
| PartitionFilterLineOfSight (const Object *obj) | |
| virtual Bool | allow (Object *objOther) |
Reject any objects that are not within clear line-of-sight of a given object. "Line of sight" takes into account terrain (ie, no hills between 'em) but does not yet take into account structures. Note that this requires more computation that other filters, so this should generally put toward the end of the filter list so that simpler filters can reject other (simpler) cases earlier.
Definition at line 720 of file PartitionManager.h.
| PartitionFilterLineOfSight::PartitionFilterLineOfSight | ( | const Object * | obj | ) |
Definition at line 5334 of file PartitionManager.cpp.
Implements PartitionFilter.
Definition at line 5340 of file PartitionManager.cpp.