Triangle Geometry.
More...
#include <le2d/shape/triangle.hpp>
|
| auto | get_vertices () const -> std::span< Vertex const > final |
| |
| auto | get_indices () const -> std::span< std::uint32_t const > final |
| |
| auto | get_topology () const -> vk::PrimitiveTopology final |
| |
| void | create (float radius=100.0f, kvf::Color color=kvf::white_v) |
| |
◆ create()
| void le::shape::Triangle::create |
( |
float |
radius = 100.0f, |
|
|
kvf::Color |
color = kvf::white_v |
|
) |
| |
◆ get_indices()
| auto le::shape::Triangle::get_indices |
( |
| ) |
const -> std::span<std::uint32_t const> |
|
inlinefinalvirtual |
◆ get_topology()
| auto le::shape::Triangle::get_topology |
( |
| ) |
const -> vk::PrimitiveTopology |
|
inlinefinalvirtual |
◆ get_vertices()
| auto le::shape::Triangle::get_vertices |
( |
| ) |
const -> std::span<Vertex const> |
|
inlinefinalvirtual |
◆ vertex_count_v
| constexpr std::size_t le::shape::Triangle::vertex_count_v {4} |
|
staticconstexpr |
◆ vertices
The documentation for this class was generated from the following file: