Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ RumbleFromBounce
Function
RumbleFromBounce
TombEngine/Game/camera.cpp:237–240 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
235
}
236
237
inline void RumbleFromBounce()
238
{
239
Rumble(std::clamp((float)abs(Camera.bounce) / 70.0f, 0.0f, 0.8f), 0.2f);
240
}
241
242
void CalculateBounce(bool binocularMode)
243
{
Callers
1
CalculateBounce
Function · 0.85
Calls
1
Rumble
Function · 0.85
Tested by
no test coverage detected