Go to the source code of this file.
◆ MR_Mesh
◆ MR_std_vector_MR_Vector2f
◆ MR_makeSolidOfRevolution()
Makes a solid-of-revolution mesh. The resulting mesh is symmetrical about the z-axis. The profile points must be in the format { distance to the z-axis; z value }. Generated from function MR::makeSolidOfRevolution. Parameter profile can not be null. It is a single object. Parameter resolution has a default argument: 16, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.