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

Method a

utilities/olcUTIL_Geometry2D.h:231–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 inline constexpr v_2d& operator=(const v_2d& v) = default;
230
231 inline constexpr std::array<T, 2> a() const
232 {
233 return std::array<T, 2>{x, y};
234 }
235
236 // Returns rectangular area of vector
237 inline constexpr auto area() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected