diff options
| author | Ray <raysan5@gmail.com> | 2019-02-06 10:51:06 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-02-06 10:51:06 +0100 |
| commit | d0d81ea545c3a46820f35f4caf567b5b047bdd07 (patch) | |
| tree | fc738da2323e39d5bc06260bf916e476cbb0394b /src | |
| parent | c200642887a8a5a4fd38168aee224dc9fc9906ab (diff) | |
| download | raylib-d0d81ea545c3a46820f35f4caf567b5b047bdd07.tar.gz raylib-d0d81ea545c3a46820f35f4caf567b5b047bdd07.zip | |
Review ExportMesh() header
Diffstat (limited to 'src')
| -rw-r--r-- | src/models.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/models.c b/src/models.c index 39e8781e..925ede07 100644 --- a/src/models.c +++ b/src/models.c @@ -680,12 +680,18 @@ void ExportMesh(Mesh mesh, const char *fileName) { FILE *objFile = fopen(fileName, "wt"); - fprintf(objFile, "# raylib Mesh OBJ exporter v1.0\n\n"); - fprintf(objFile, "# Mesh exported as triangle faces and not optimized.\n"); - fprintf(objFile, "# Vertex Count: %i\n", mesh.vertexCount); - fprintf(objFile, "# Triangle Count: %i\n\n", mesh.triangleCount); - fprintf(objFile, "# LICENSE: zlib/libpng\n"); - fprintf(objFile, "# Copyright (c) 2018 Ramon Santamaria (@raysan5)\n\n"); + fprintf(objFile, "# //////////////////////////////////////////////////////////////////////////////////\n"); + fprintf(objFile, "# // //\n"); + fprintf(objFile, "# // rMeshOBJ exporter v1.0 - Mesh exported as triangle faces and not optimized //\n"); + fprintf(objFile, "# // //\n"); + fprintf(objFile, "# // more info and bugs-report: github.com/raysan5/raylib //\n"); + fprintf(objFile, "# // feedback and support: ray[at]raylib.com //\n"); + fprintf(objFile, "# // //\n"); + fprintf(objFile, "# // Copyright (c) 2018 Ramon Santamaria (@raysan5) //\n"); + fprintf(objFile, "# // //\n"); + fprintf(objFile, "# //////////////////////////////////////////////////////////////////////////////////\n\n"); + fprintf(objFile, "# Vertex Count: %i\n", mesh.vertexCount); + fprintf(objFile, "# Triangle Count: %i\n\n", mesh.triangleCount); fprintf(objFile, "g mesh\n"); |
