Public Attributes | |
std::array< type::Vec3, vertex_count > | vertices |
std::array< Triangle, triangle_count > | triangles |
std::array< type::Vec3, vertex_count > | normals {} |
Static Public Attributes | |
static constexpr int | vertex_count = Segments + 2 |
static constexpr int | triangle_count = Segments * 2 |
Public Member Functions | |
constexpr | ConeMesh (const type::Vec3 &base, const type::Vec3 &tip, double base_radius) |
std::array<type::Vec3, vertex_count> sofa::gl::ConeMesh< Segments >::normals {} |
|
staticconstexpr |
std::array<Triangle, triangle_count> sofa::gl::ConeMesh< Segments >::triangles |
|
staticconstexpr |
std::array<type::Vec3, vertex_count> sofa::gl::ConeMesh< Segments >::vertices |
|
inlineconstexpr |