![]() |
ToyGine2 26.2.0
Game Engine for retro consoles
|
Circle in 2D with center and radius. More...
Go to the source code of this file.
Classes | |
| class | toy::geometry::Circle< T > |
| Circle in 2D with center and radius. More... | |
Namespaces | |
| namespace | toy |
| Root namespace containing all engine modules. | |
| namespace | toy::geometry |
| Geometry types and utilities: sections (intervals), circles, ellipses, and related APIs. | |
Concepts | |
| concept | toy::geometry::CircleComponent |
| Concept satisfied when T is a component type allowed as toy::geometry::Circle template parameter. | |
Functions | |
| template<CircleComponent T> | |
| toy::geometry::Circle (const math::Vector2< T > &, const T &) -> Circle< T > | |
Deduction guide: enables Circle(center, radius) without an explicit template argument when both arguments have the same toy::geometry::CircleComponent type. | |
| template<CircleComponent T> | |
| constexpr bool | toy::geometry::operator== (const Circle< T > &left, const Circle< T > &right) noexcept |
| Equality of two circles: same center and radius (tolerance-based for float, exact for fixed-point). | |
| template<CircleComponent T> | |
| constexpr bool | toy::geometry::operator!= (const Circle< T > &left, const Circle< T > &right) noexcept |
| Inequality of two circles. | |
Circle in 2D with center and radius.
Defines toy::geometry::Circle and toy::geometry::CircleComponent.