Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuxCoreRender/LuxCore
/ Float2Int
Function
Float2Int
include/luxrays/utils/utils.h:239–241 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
237
}
238
239
template<class T> inline int Float2Int(T val) {
240
return static_cast<int>(val);
241
}
242
243
template<class T> inline unsigned int Float2UInt(T val) {
244
return val >= 0 ? static_cast<unsigned int>(val) : 0;
Callers
1
Hash
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected