Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ IsRightTurn
Function
IsRightTurn
libs/routing/turns.cpp:181–184 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
}
180
181
bool IsRightTurn(CarDirection t)
182
{
183
return (t >= CarDirection::TurnRight && t <= CarDirection::TurnSlightRight);
184
}
185
186
bool IsLeftOrRightTurn(CarDirection t)
187
{
Callers
2
IsLeftOrRightTurn
Function · 0.85
IsTurnMadeFromRight
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected