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

Focus pr on explicit type and util changes

This commit is contained in:
Rgebee 2025-09-17 19:16:39 +01:00
commit be91fe9120
15 changed files with 18 additions and 856 deletions

View file

@ -30,36 +30,6 @@ public unsafe struct Mesh
/// </summary>
public int TriangleCount;
public readonly void Draw(Material material, Matrix4x4 transform)
{
Raylib.DrawMesh(this, material, transform);
}
public readonly void DrawInstanced(Material material, Matrix4x4[] transforms, int instances)
{
Raylib.DrawMeshInstanced(this, material, transforms, instances);
}
public readonly void Export(string fileName)
{
Raylib.ExportMesh(this, fileName);
}
public readonly void ExportAsCode(string fileName)
{
Raylib.ExportMeshAsCode(this, fileName);
}
public void Upload(CBool dynamic)
{
Raylib.UploadMesh(ref this, dynamic);
}
public void Unload()
{
Raylib.UnloadMesh(this);
}
#region Default vertex data
/// <summary>