Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ ClampInt
Function
ClampInt
trinity/TriMath.cpp:904–910 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
902
}
903
904
int32_t ClampInt(
905
int32_t f,
906
int32_t min,
907
int32_t max )
908
{
909
return ( f < min ) ? min : ( ( f > max ) ? max : f );
910
}
911
912
uint32_t ClampUInt(
913
uint32_t f,
Callers
2
CreateFromHeightData
Method · 0.85
SetupMeshes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected