[Navigation 2D] Fix sign of cross product

Regression from splitting the servers. Also replaces the method for
getting the triangle area.
This commit is contained in:
A Thousand Ships
2025-09-23 13:52:31 +02:00
parent 3d91a48298
commit f8d72ba783
4 changed files with 77 additions and 6 deletions

View File

@ -190,6 +190,7 @@
#include "tests/scene/test_navigation_obstacle_2d.h"
#include "tests/scene/test_navigation_region_2d.h"
#include "tests/servers/test_navigation_server_2d.h"
#include "tests/servers/test_triangle2.h"
#endif // MODULE_NAVIGATION_2D_ENABLED
#ifdef MODULE_NAVIGATION_3D_ENABLED