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

Function readFloat

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

Source from the content-addressed store, hash-verified

138}
139
140static PxF32 readFloat(File* fp)
141{
142 PxF32 data;
143 size_t numRead = fread(&data, 1, 4, fp);
144 if(numRead != 4) { return 0; }
145 if(gFlip)
146 Flip(data);
147 return data;
148}
149
150static PxTransform readTransform(File* fp, PxReal scale)
151{

Callers 7

readTransformFunction · 0.70
loadRAWfileFunction · 0.70
loadMeshDataFunction · 0.50
loadMethod · 0.50
loadMethod · 0.50
loadMethod · 0.50
loadMethod · 0.50

Calls 1

FlipFunction · 0.70

Tested by

no test coverage detected