Watch
2
0
Fork
You've already forked raylib-cs
0

ExportMeshAsCode added

This commit is contained in:
JupiterRider 2024-12-06 20:54:39 +01:00
commit 5ee9ca3baa
2 changed files with 14 additions and 4 deletions

View file

@ -1240,6 +1240,13 @@ public static unsafe partial class Raylib
return ExportMesh(mesh, str1.AsPointer());
}
/// <summary>Export mesh as code file (.h) defining multiple arrays of vertex attributes</summary>
public static CBool ExportMeshAsCode(Mesh mesh, string fileName)
{
using var str1 = fileName.ToAnsiBuffer();
return ExportMeshAsCode(mesh, str1.AsPointer());
}
/// <summary>Draw a triangle strip defined by points</summary>
public static void DrawTriangleStrip3D(Vector3[] points, int pointCount, Color color)
{