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

Function flip

deps/physx/physx/samples/samplebase/SampleRandomPrecomputed.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37#define WRITE_SEQUENCE 0
38
39PX_FORCE_INLINE PxF32 flip(const PxF32* v)
40{
41 const PxU8* b = (const PxU8*)v;
42 PxF32 f;
43 PxU8* bf = (PxU8*)&f;
44 bf[0] = b[3];
45 bf[1] = b[2];
46 bf[2] = b[1];
47 bf[3] = b[0];
48 return f;
49}
50
51SampleRandomPrecomputed::SampleRandomPrecomputed(PhysXSample& app)
52: mPrecomputedRandomSequence(NULL),

Callers 3

loadMethod · 0.50
flip_textureMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected