Creates a mesh of a pyramid.
Returns eOk if the operation completed successfully, or an appropriate error code otherwise.