MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Swap

Function Swap

include/luxrays/utils/utils.h:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132template<class T> inline void Swap(T &a, T &b) {
133 const T tmp = a;
134 a = b;
135 b = tmp;
136}
137
138template<class T> inline T Max(T a, T b) {
139 return a > b ? a : b;

Callers 5

InverseMethod · 0.85
IntersectPMethod · 0.85
ResetMethod · 0.85
QuadraticFunction · 0.85
ShuffleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected