Circle Geometry.
More...
#include <le2d/shape/circle.hpp>
◆ create()
| void le::shape::Circle::create |
( |
float |
diameter, |
|
|
kvf::Color |
color = kvf::white_v, |
|
|
std::int32_t |
resolution = 128 |
|
) |
| |
◆ get_diameter()
| auto le::shape::Circle::get_diameter |
( |
| ) |
const -> float |
|
inline |
◆ get_indices()
| auto le::shape::Circle::get_indices |
( |
| ) |
const -> std::span<std::uint32_t const> |
|
inlinefinalvirtual |
◆ get_size()
| auto le::shape::Circle::get_size |
( |
| ) |
const -> glm::vec2 |
|
inline |
◆ get_topology()
| auto le::shape::Circle::get_topology |
( |
| ) |
const -> vk::PrimitiveTopology |
|
inlinefinalvirtual |
◆ get_vertex_array()
| auto le::shape::Circle::get_vertex_array |
( |
| ) |
const -> VertexArray const& |
|
inline |
◆ get_vertices()
| auto le::shape::Circle::get_vertices |
( |
| ) |
const -> std::span<Vertex const> |
|
inlinefinalvirtual |
The documentation for this class was generated from the following file: