Fix NavigationServer internals still using float instead of real_t

Fixes that some NavigationServer internals still used float instead of real_t in some parts.
This commit is contained in:
smix8
2023-03-07 15:16:07 +01:00
parent 013a457068
commit 217a27014b
9 changed files with 43 additions and 43 deletions

View File

@ -257,11 +257,11 @@ bool NavigationServer2D::get_debug_navigation_enable_agent_paths() const {
return NavigationServer3D::get_singleton()->get_debug_navigation_enable_agent_paths();
}
void NavigationServer2D::set_debug_navigation_agent_path_point_size(float p_point_size) {
void NavigationServer2D::set_debug_navigation_agent_path_point_size(real_t p_point_size) {
NavigationServer3D::get_singleton()->set_debug_navigation_agent_path_point_size(p_point_size);
}
float NavigationServer2D::get_debug_navigation_agent_path_point_size() const {
real_t NavigationServer2D::get_debug_navigation_agent_path_point_size() const {
return NavigationServer3D::get_singleton()->get_debug_navigation_agent_path_point_size();
}
#endif // DEBUG_ENABLED