exportAsCode

fun exportAsCode(fileName: String)

Exports the mesh data as code to a C header file.

This function generates code that represents the mesh data, which can be included in source code files for easy integration into projects.

Parameters

fileName

The name of the file to export to.


fun exportAsCode(file: File)

Exports the mesh data as code to a C header file.

This function generates code that represents the mesh data, which can be included in source code files for easy integration into projects.

Parameters

file

The file to export to.