MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DirtyEntry

Class DirtyEntry

Source/ThirdParty/recastnavigation/RecastRegion.cpp:353–360  ·  view source on GitHub ↗

Struct to keep track of entries in the region table that have been changed.

Source from the content-addressed store, hash-verified

351
352// Struct to keep track of entries in the region table that have been changed.
353struct DirtyEntry
354{
355 DirtyEntry(int index_, unsigned short region_, unsigned short distance2_)
356 : index(index_), region(region_), distance2(distance2_) {}
357 int index;
358 unsigned short region;
359 unsigned short distance2;
360};
361static void expandRegions(int maxIter, unsigned short level,
362 rcCompactHeightfield& chf,
363 unsigned short* srcReg, unsigned short* srcDist,

Callers 1

expandRegionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected