MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / readWord

Method readWord

physx/source/geomutils/src/GuSerialize.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
49
50PxU16 physx::readWord(bool mismatch, PxInputStream& stream)
51{
52 PxU16 d;
53 stream.read(&d, sizeof(PxU16));
54
55 if(mismatch)
56 flip(d);
57 return d;
58}
59
60PxU32 physx::readDword(bool mismatch, PxInputStream& stream)
61{

Callers

nothing calls this directly

Calls 2

flipFunction · 0.70
readMethod · 0.45

Tested by

no test coverage detected