diff options
author | Micky <micheledevita2@gmail.com> | 2022-08-13 12:26:13 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-08-13 12:40:55 +0200 |
commit | b62d06fbeddfd7e584587d1a86f69ed09dff65e6 (patch) | |
tree | 1702c3826ee2bc08796ac4d406afa86e9930e36d /servers/navigation_server_3d.h | |
parent | f2a61684143af02a8cbe7002645af817607f9bd6 (diff) | |
download | redot-engine-b62d06fbeddfd7e584587d1a86f69ed09dff65e6.tar.gz |
Rename Navigation's `neighbor_dist` to `neightbor_distance`
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters)
NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()`
Also changes their parameters' names.
Doesn't affect "Agent.neighborDist_" in Agent.h
Diffstat (limited to 'servers/navigation_server_3d.h')
-rw-r--r-- | servers/navigation_server_3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/navigation_server_3d.h b/servers/navigation_server_3d.h index f24c0117d1..79b0ea84b0 100644 --- a/servers/navigation_server_3d.h +++ b/servers/navigation_server_3d.h @@ -147,7 +147,7 @@ public: /// time of the simulation. If the number is too /// low, the simulation will not be safe. /// Must be non-negative. - virtual void agent_set_neighbor_dist(RID p_agent, real_t p_dist) const = 0; + virtual void agent_set_neighbor_distance(RID p_agent, real_t p_distance) const = 0; /// The maximum number of other agents this /// agent takes into account in the navigation. |