MCPcopy Create free account
hub / github.com/OpenBoardView/OpenBoardView / VHAngleToX

Function VHAngleToX

src/openboardview/vectorhulls.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50double VHAngleToX(ImVec2 a, ImVec2 b) {
51 return atan2((b.y - a.y), (b.x - a.x));
52}
53
54std::array<ImVec2, 4> VHMBBCalculate(std::vector<ImVec2> hull, double psz) {
55 std::array<ImVec2, 4> box;

Callers 2

VHMBBCalculateFunction · 0.85
VHTightenHullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected