![]() |
VR-Forces 4.10 Class Documentation
|
Go to the source code of this file.
Functions | |
| bool | edgeFromIntersectionNormal (const DtRwDynamicTerrainInformation &dynTerrInfo, DtNavDataGenerator *navGenerator, int sectorX, int sectorY, unsigned edgeTag, std::list< DtNavDataGenerator::NavEdgePoints > *edges, void *usr) |
| Function to generate a nav edge from dynamic terrain features. More... | |
| bool | edgeFromPathFeature (const MAKVRinTerra::DtFeature &feature, DtNavDataGenerator *navGenerator, int sectorX, int sectorY, unsigned edgeTag, std::list< DtNavDataGenerator::NavEdgePoints > *edges, void *usr) |
| Function to generate a nav edge from terrain feature data. More... | |
| bool edgeFromIntersectionNormal | ( | const DtRwDynamicTerrainInformation & | dynTerrInfo, |
| DtNavDataGenerator * | navGenerator, | ||
| int | sectorX, | ||
| int | sectorY, | ||
| unsigned | edgeTag, | ||
| std::list< DtNavDataGenerator::NavEdgePoints > * | edges, | ||
| void * | usr | ||
| ) |
Function to generate a nav edge from dynamic terrain features.
Tries to find a terrain intersection at the location of the dynamic terrain feature, then gets its normal. Designed for use with doors, in which case this should return the direction through which an entity can pass through the door. Returns false if no valid points could be found.
| bool edgeFromPathFeature | ( | const MAKVRinTerra::DtFeature & | feature, |
| DtNavDataGenerator * | navGenerator, | ||
| int | sectorX, | ||
| int | sectorY, | ||
| unsigned | edgeTag, | ||
| std::list< DtNavDataGenerator::NavEdgePoints > * | edges, | ||
| void * | usr | ||
| ) |
Function to generate a nav edge from terrain feature data.
Turns a path feature into nav edge(s), clipped to the current sector.