MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Swap

Function Swap

SampleFramework12/v1.00/SF12_Math.h:484–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482};
483
484template<typename T> void Swap(T& a, T& b)
485{
486 T tmp = a;
487 a = b;
488 b = tmp;
489}
490
491template<typename T> void Shuffle(std::vector<T>& values, Random& randomGenerator)
492{

Callers 2

ShuffleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected