Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
484
template<typename T> void Swap(T& a, T& b)
485
{
486
T tmp = a;
487
a = b;
488
b = tmp;
489
}
490
491
template<typename T> void Shuffle(std::vector<T>& values, Random& randomGenerator)
492
{
Callers
2
Shuffle
Function · 0.85
GenerateLatinHypercubeSamples2D
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected