Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ TriClamp
Function
TriClamp
trinity/TriMath.cpp:896–902 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
894
}
895
896
float TriClamp(
897
float f,
898
float min,
899
float max )
900
{
901
return ( f < min ) ? min : ( ( f > max ) ? max : f );
902
}
903
904
int32_t ClampInt(
905
int32_t f,
Callers
15
TriLinearize
Function · 0.85
CreateFromHeightData
Method · 0.85
GetValueAt
Method · 0.85
GetKickInValue
Method · 0.85
Update
Method · 0.85
Update
Method · 0.85
ModifySystemBoneTransform
Method · 0.85
CalcTransformForPitchBone
Method · 0.85
UpdateState
Method · 0.85
CheckImpact
Method · 0.85
UpdateWarhead
Method · 0.85
UpdateSyncronous
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected