Triangle Geometry.
More...
#include <le2d/shape/triangle.hpp>
◆ explicit()
| le::shape::Triangle::explicit |
( |
false |
| ) |
const |
|
default |
◆ color
| kvf::Color const le::shape::Triangle::color |
Initial value:= kvf::white_v) { create(radius,
color); }
auto get_indices() const -> std::span<std::uint32_t const> final {
return {}; }
auto get_topology() const -> vk::PrimitiveTopology final {
return vk::PrimitiveTopology::eTriangleList; }
virtual auto get_vertices() const -> std::span< Vertex const >=0
virtual auto get_indices() const -> std::span< std::uint32_t const >=0
virtual auto get_topology() const -> vk::PrimitiveTopology=0
kvf::Color const color
Definition triangle.hpp:15
std::array< Vertex, vertex_count_v > vertices
Definition triangle.hpp:23
static constexpr auto default_radius_v
Definition triangle.hpp:13
Drawable vertex.
Definition vertex.hpp:7
◆ default_radius_v
◆ vertex_count_v
| constexpr auto le::shape::Triangle::vertex_count_v {4uz} |
|
staticconstexpr |
◆ vertices
The documentation for this class was generated from the following file: