MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / DrawSectorFlagLabel

Function DrawSectorFlagLabel

TombEngine/Game/collision/floordata.cpp:833–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831 }
832
833 static void DrawSectorFlagLabel(const Vector3& pos, const std::string& string, const Vector4& color, float verticalOffset)
834 {
835 constexpr auto HALF_BLOCK = BLOCK(0.5f);
836 auto labelPos = pos + Vector3(HALF_BLOCK, 0.0f, HALF_BLOCK);
837 DrawDebugString(string, labelPos, color, RendererDebugPage::CollisionStats);
838 }
839
840 void DrawNearbySectorFlags(const ItemInfo& item)
841 {

Callers 1

DrawNearbySectorFlagsFunction · 0.85

Calls 2

DrawDebugStringFunction · 0.85
Vector3Function · 0.50

Tested by

no test coverage detected