![]() |
GEOM
Computer Graphics Structures library
|
Generator of UV sphere geometry. More...
Public Member Functions | |
| UvSphereGenerator (uint32_t smoothness=8) | |
| Construct generator. Higher values of smoothness parameter increase the vertex count. | |
| std::vector< glm::vec3 > | GenVertices (const glm::vec3 ¢er, float radius) const |
| Generates point positions for a specified sphere center and radius. | |
| std::vector< glm::uvec3 > | GenIndices () const |
| Generates triangle indices defining point connectivity. | |
Generator of UV sphere geometry.