MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / envelope_c

Function envelope_c

utilities/olcUTIL_Geometry2D.h:1959–1962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1957 // Return circle that fully encapsulates a point
1958 template<typename T1>
1959 inline constexpr circle<T1> envelope_c(const olc::v_2d<T1>& p)
1960 {
1961 return circle<T1>(p, 0);
1962 }
1963
1964
1965

Callers 1

bounding_circleFunction · 0.85

Calls 3

upointMethod · 0.80
vectorMethod · 0.80
magMethod · 0.45

Tested by

no test coverage detected