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

Function ToMegabytes

TombEngine/Specific/trutils.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace TEN::Utils
13{
14 float ToMegabytes(unsigned long long bytes)
15 {
16 return (float)bytes / (1024.0f * 1024.0f);
17 }
18
19 std::string ConstructAssetDirectory(std::string customDirectory)
20 {

Callers 2

DrawDebugInfoMethod · 0.85
GetSummaryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected