فهرست منبع

Made drawWireframe static in Model.cpp so that it doesn't get detected by luagen.

Darryl Gough 13 سال پیش
والد
کامیت
937400c2e0
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      gameplay/src/Model.cpp

+ 2 - 2
gameplay/src/Model.cpp

@@ -253,7 +253,7 @@ void Model::setNode(Node* node)
     }
     }
 }
 }
 
 
-bool drawWireframe(Mesh* mesh)
+static bool drawWireframe(Mesh* mesh)
 {
 {
     switch (mesh->getPrimitiveType())
     switch (mesh->getPrimitiveType())
     {
     {
@@ -283,7 +283,7 @@ bool drawWireframe(Mesh* mesh)
     }
     }
 }
 }
 
 
-bool drawWireframe(MeshPart* part)
+static bool drawWireframe(MeshPart* part)
 {
 {
     unsigned int indexCount = part->getIndexCount();
     unsigned int indexCount = part->getIndexCount();
     unsigned int indexSize = 0;
     unsigned int indexSize = 0;