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

Function Flip

physx/samples/sampleframework/renderer/src/Renderer.cpp:894–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892#endif
893
894PX_INLINE void Flip(PxU32& v)
895{
896 PxU8* b = (PxU8*)&v;
897
898 PxU8 temp = b[0];
899 b[0] = b[3];
900 b[3] = temp;
901 temp = b[1];
902 b[1] = b[2];
903 b[2] = temp;
904}
905
906PX_INLINE void Flip(PxI32& v)
907{

Callers 2

read32Function · 0.70
LoadMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected