Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WayfireWM/wayfire
/ vlen
Function
vlen
plugins/single_plugins/wrot.cpp:25–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
static double vlen(double x1, double y1) // length of vector centered at the origin
26
{
27
return std::sqrt(x1 * x1 + y1 * y1);
28
}
29
30
enum class mode
31
{
Callers
2
motion_2d
Method · 0.85
motion_3d
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected