le2d v0.4.6
2D game engine framework
 
Loading...
Searching...
No Matches
le::shape::SuperEllipse Class Reference

Super ellipse Geometry. More...

#include <le2d/shape/super_ellipse.hpp>

Inheritance diagram for le::shape::SuperEllipse:
le::IGeometry

Public Types

using Params = SuperEllipseParams
 

Public Member Functions

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 (Params const &params={})
 
auto get_params () const -> Params const &
 
auto get_size () const -> glm::vec2
 
auto get_vertex_array () const -> VertexArray const &
 

Detailed Description

Super ellipse Geometry.

Member Typedef Documentation

◆ Params

Member Function Documentation

◆ create()

void le::shape::SuperEllipse::create ( Params const &  params = {})

◆ get_indices()

auto le::shape::SuperEllipse::get_indices ( ) const -> std::span<std::uint32_t const>
inlinefinalvirtual

Implements le::IGeometry.

◆ get_params()

auto le::shape::SuperEllipse::get_params ( ) const -> Params const&
inline

◆ get_size()

auto le::shape::SuperEllipse::get_size ( ) const -> glm::vec2
inline

◆ get_topology()

auto le::shape::SuperEllipse::get_topology ( ) const -> vk::PrimitiveTopology
inlinefinalvirtual

Implements le::IGeometry.

◆ get_vertex_array()

auto le::shape::SuperEllipse::get_vertex_array ( ) const -> VertexArray const&
inline

◆ get_vertices()

auto le::shape::SuperEllipse::get_vertices ( ) const -> std::span<Vertex const>
inlinefinalvirtual

Implements le::IGeometry.


The documentation for this class was generated from the following file: