* Export mesh data to file * * @throws raylib::RaylibException Throws if failed to export the Mesh. */
| 189 | * @throws raylib::RaylibException Throws if failed to export the Mesh. |
| 190 | */ |
| 191 | void Export(const std::string& fileName) { |
| 192 | if (!::ExportMesh(*this, fileName.c_str())) { |
| 193 | throw RaylibException("Failed to export the Mesh"); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Export mesh as code file (.h) defining multiple arrays of vertex attributes |
nothing calls this directly
no test coverage detected