浏览代码

Update models_decals.c

pull/5473/head
Ray 3 周前
父节点
当前提交
35fc8ece44
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. +1
    -4
      examples/models/models_decals.c

+ 1
- 4
examples/models/models_decals.c 查看文件

@ -45,10 +45,7 @@ static void FreeMeshBuilder(MeshBuilder *mb);
static Mesh BuildMesh(MeshBuilder *mb);
static Mesh GenMeshDecal(Model inputModel, Matrix projection, float decalSize, float decalOffset);
static Vector3 ClipSegment(Vector3 v0, Vector3 v1, Vector3 p, float s);
inline void FreeDecalMeshData()
{
GenMeshDecal((Model) { .meshCount = -1 }, (Matrix) { 0 }, 0.0f, 0.0f);
}
static void FreeDecalMeshData(void) { GenMeshDecal((Model){ .meshCount = -1 }, (Matrix){ 0 }, 0.0f, 0.0f); }
static bool GuiButton(Rectangle rec, const char *label);
//------------------------------------------------------------------------------------

正在加载...
取消
保存