Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ rfpart
Function
rfpart
source/core/StarMathCommon.hpp:135–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
134
template <typename Float>
135
Float rfpart(Float f) {
136
return 1.0 - fpart(f);
137
}
138
139
template <typename T, typename T2>
140
T clampMagnitude(T const& v, T2 const& mag) {
Callers
1
lineAttenuation
Method · 0.85
Calls
1
fpart
Function · 0.85
Tested by
no test coverage detected