Public Attributes | |
std::array< type::Vec3, vertex_count > | vertices |
std::array< Triangle, triangle_count > | triangles |
std::array< type::Vec3, triangle_count > | normals |
Static Public Attributes | |
static constexpr int | vertex_count = Segments * 2 + 2 |
static constexpr int | triangle_count = Segments * 4 |
Public Member Functions | |
constexpr | CylinderMesh (const type::Vec3 &start, const type::Vec3 &end, double radius) |
std::array<type::Vec3, triangle_count> sofa::gl::CylinderMesh< Segments >::normals |
|
staticconstexpr |
std::array<Triangle, triangle_count> sofa::gl::CylinderMesh< Segments >::triangles |
|
staticconstexpr |
std::array<type::Vec3, vertex_count> sofa::gl::CylinderMesh< Segments >::vertices |
|
inlineconstexpr |