Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ DegToRad
Function
DegToRad
libs/base/math.hpp:87–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
{
86
template <typename Float>
87
Float constexpr DegToRad(Float deg)
88
{
89
return deg * Float(math::pi) / Float(180);
90
}
91
92
template <typename Float>
93
Float constexpr RadToDeg(Float rad)
Callers
15
AddBearingPenalty
Method · 0.85
main
Function · 0.85
PointToPolygon
Function · 0.85
OnCompassUpdated
Method · 0.85
GetDistance
Function · 0.85
RotateAroundX
Method · 0.85
RotateAroundY
Method · 0.85
RotateAroundZ
Method · 0.85
GetPointOnSphere
Function · 0.85
DistanceOnSphere
Function · 0.85
ToVector
Function · 0.85
CreateCircleOnNorth
Function · 0.85
Calls
no outgoing calls
Tested by
1
UNIT_TEST
Function · 0.68