![]() |
VR-Forces Developer's Guide
|
This document describes the public API changes in the terrainInterface library between VR-Forces 5.2 and 5.3.
The only public header with API-affecting changes is:
Every other header in include/terrainInterface/ is unchanged at the API level. Changes that are internal to an implementation or limited to comments are not listed.
makePath now returns DtAStarGraph::PathList instead of DtAStarGraph::Path. This follows the rename of the A* path result classes in the features library, where DtAStarGraph::Path became DtAStarGraph::PathList. The parameter list, default arguments, and behavior of makePath are unchanged, so the update is mechanical.
Two kinds of call site are affected. Code that stores the result in an explicitly typed variable must name the new type, and code that inspects the returned vertices must use the renamed nested types described in the features migration notes:
Classes that derive from DtTerrainInterface and override makePath must change the return type of the override to match. Because the return type is part of the virtual function signature, an override that still declares DtAStarGraph::Path will fail to compile rather than silently hiding the base declaration.
No public headers, classes, methods, enumerators, or typedefs were added to the terrainInterface library in 5.3.
Return to VR-Forces 5.3 API Migration Guide.
[Home]