MCPcopy Create free account
hub / github.com/MyGUI/mygui / writeBinBitmapFloat

Function writeBinBitmapFloat

MyGUIEngine/src/msdfgen/main.cpp:233–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231static bool writeBinBitmapFloatBE(FILE *file, const float *values, int cols, int rows, int rowStride)
232#else
233static bool writeBinBitmapFloat(FILE *file, const float *values, int cols, int rows, int rowStride)
234#endif
235{
236 for (int row = 0; row < rows; ++row) {
237 fwrite(values, sizeof(float), cols, file);
238 values += rowStride;
239 }
240 return true;
241}
242
243#ifdef __BIG_ENDIAN__
244static bool writeBinBitmapFloat(FILE *file, const float *values, int cols, int rows, int rowStride)

Callers 1

writeOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected