MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / ExportCode

Method ExportCode

include/MeshUnmanaged.hpp:202–206  ·  view source on GitHub ↗

* Export mesh as code file (.h) defining multiple arrays of vertex attributes * * @throws raylib::RaylibException Throws if failed to export the Mesh. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

RaylibExceptionClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected