MCPcopy Create free account
hub / github.com/DentonW/DevIL / SaveLittleFloat

Function SaveLittleFloat

DevIL/src-IL/src/il_endian.cpp:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223ILubyte SaveLittleFloat(ILfloat f) {
224#ifdef __BIG_ENDIAN__
225 iSwapFloat(&f);
226#endif
227 return iwrite(&f, sizeof(ILfloat), 1);
228}
229
230ILubyte SaveLittleDouble(ILdouble d) {
231#ifdef __BIG_ENDIAN__

Callers 1

iSaveVtfInternalFunction · 0.85

Calls 1

iSwapFloatFunction · 0.85

Tested by

no test coverage detected