MCPcopy 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
25static double vlen(double x1, double y1) // length of vector centered at the origin
26{
27 return std::sqrt(x1 * x1 + y1 * y1);
28}
29
30enum class mode
31{

Callers 2

motion_2dMethod · 0.85
motion_3dMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected