feat(Core/Metrics): implement real time statistic visualization (#8663)
This commit is contained in:
parent
7c363c9040
commit
a650fd495c
21 changed files with 4798 additions and 31 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include "Geometry.h"
|
||||
#include "Log.h"
|
||||
#include "Map.h"
|
||||
#include "Metric.h"
|
||||
#include "MMapFactory.h"
|
||||
#include "MMapMgr.h"
|
||||
#include "PathGenerator.h"
|
||||
|
|
@ -61,6 +62,8 @@ bool PathGenerator::CalculatePath(float x, float y, float z, float destX, float
|
|||
if (!Acore::IsValidMapCoord(destX, destY, destZ) || !Acore::IsValidMapCoord(x, y, z))
|
||||
return false;
|
||||
|
||||
METRIC_DETAILED_EVENT("mmap_events", "CalculatePath", "");
|
||||
|
||||
G3D::Vector3 dest(destX, destY, destZ);
|
||||
SetEndPosition(dest);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue