#include <MRCMisc/exports.h>Go to the source code of this file.
Functions | |
| MRC_API MR_Mesh * | MR_makeSolidOfRevolution (const MR_std_vector_MR_Vector2f *profile, const int *resolution) |
| MRC_API MR_Mesh * MR_makeSolidOfRevolution | ( | const MR_std_vector_MR_Vector2f * | profile, |
| const int * | resolution ) |
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.