sKit  0.0.9
sKit::geom::Geometry< T, U > Struct Template Reference

#include <shapes.hpp>

Public Attributes

std::vector< T > vertices
 
std::vector< U > indices
 

Detailed Description

template<typename T, typename U>
struct sKit::geom::Geometry< T, U >

Template Parameters
TVertex type: SDL_Vertex, glm::vec2, glm::vec3
UIndex type: int, uint16_t, uint32_t, Uint16, Uint32

Definition at line 18 of file shapes.hpp.

Member Data Documentation

◆ indices

template<typename T , typename U >
std::vector<U> sKit::geom::Geometry< T, U >::indices

Definition at line 20 of file shapes.hpp.

◆ vertices

template<typename T , typename U >
std::vector<T> sKit::geom::Geometry< T, U >::vertices

Definition at line 19 of file shapes.hpp.

Referenced by sKit::geom::arc().


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