MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / read32

Function read32

deps/physx/physx/samples/samplebase/RawLoader.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static PxU32 read32(File* fp)
131{
132 PxU32 data;
133 size_t numRead = fread(&data, 1, 4, fp);
134 if(numRead != 4) { return 0; }
135 if(gFlip)
136 Flip(data);
137 return data;
138}
139
140static PxF32 readFloat(File* fp)
141{

Callers 1

loadRAWfileFunction · 0.70

Calls 1

FlipFunction · 0.70

Tested by

no test coverage detected