Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
132
template<class T> inline void Swap(T &a, T &b) {
133
const T tmp = a;
134
a = b;
135
b = tmp;
136
}
137
138
template<class T> inline T Max(T a, T b) {
139
return a > b ? a : b;
Callers
5
Inverse
Method · 0.85
IntersectP
Method · 0.85
Reset
Method · 0.85
Quadratic
Function · 0.85
Shuffle
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected