Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
894
PX_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
906
PX_INLINE void Flip(PxI32& v)
907
{
Callers
2
read32
Function · 0.70
Load
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected