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

Method perimeter

utilities/olcUTIL_Geometry2D.h:733–736  ·  view source on GitHub ↗

Get circumference of circle

Source from the content-addressed store, hash-verified

731
732 // Get circumference of circle
733 inline constexpr T perimeter() const
734 {
735 return T(2.0 * pi) * radius;
736 }
737
738 // Get circumference of circle
739 inline constexpr T circumference() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected