Review ExportMesh() header
This commit is contained in:
parent
c200642887
commit
d0d81ea545
18
src/models.c
18
src/models.c
@ -680,12 +680,18 @@ void ExportMesh(Mesh mesh, const char *fileName)
|
|||||||
{
|
{
|
||||||
FILE *objFile = fopen(fileName, "wt");
|
FILE *objFile = fopen(fileName, "wt");
|
||||||
|
|
||||||
fprintf(objFile, "# raylib Mesh OBJ exporter v1.0\n\n");
|
fprintf(objFile, "# //////////////////////////////////////////////////////////////////////////////////\n");
|
||||||
fprintf(objFile, "# Mesh exported as triangle faces and not optimized.\n");
|
fprintf(objFile, "# // //\n");
|
||||||
fprintf(objFile, "# Vertex Count: %i\n", mesh.vertexCount);
|
fprintf(objFile, "# // rMeshOBJ exporter v1.0 - Mesh exported as triangle faces and not optimized //\n");
|
||||||
fprintf(objFile, "# Triangle Count: %i\n\n", mesh.triangleCount);
|
fprintf(objFile, "# // //\n");
|
||||||
fprintf(objFile, "# LICENSE: zlib/libpng\n");
|
fprintf(objFile, "# // more info and bugs-report: github.com/raysan5/raylib //\n");
|
||||||
fprintf(objFile, "# Copyright (c) 2018 Ramon Santamaria (@raysan5)\n\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");
|
fprintf(objFile, "g mesh\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user