* Export mesh as code file (.h) defining multiple arrays of vertex attributes * * @throws raylib::RaylibException Throws if failed to export the Mesh. */
| 200 | * @throws raylib::RaylibException Throws if failed to export the Mesh. |
| 201 | */ |
| 202 | void ExportCode(const std::string& fileName) { |
| 203 | if (!::ExportMeshAsCode(*this, fileName.c_str())) { |
| 204 | throw RaylibException("Failed to export the Mesh"); |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Compute mesh bounding box limits |
nothing calls this directly
no test coverage detected