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

Function ReadFloat

Source/Engine/ContentImporters/ImportIES.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static bool ReadFloat(const uint8*& bufferPos, float& ret)
71{
72 char line[MAX_LINE];
73 ReadLine(bufferPos, line, true);
74 ret = static_cast<float>(atof(line));
75 return true;
76}
77
78static bool ReadLine(const uint8*& bufferPos, int32& ret)
79{

Callers

nothing calls this directly

Calls 1

ReadLineFunction · 0.85

Tested by

no test coverage detected