Browse Source

Remove extra newMesh variant;

bjorn 7 years ago
parent
commit
c65f17c480
2 changed files with 0 additions and 32 deletions
  1. 0 28
      api/init.lua
  2. 0 4
      api/lovr/graphics/newMesh.lua

+ 0 - 28
api/init.lua

@@ -8213,34 +8213,6 @@ return {
                   description = "The new Mesh."
                 }
               }
-            },
-            {
-              arguments = {
-                {
-                  name = "vertices",
-                  type = "table",
-                  description = "A table of vertices.  Each vertex is a table containing the vertex data."
-                },
-                {
-                  name = "mode",
-                  type = "MeshDrawMode",
-                  description = "How the Mesh will connect its vertices into triangles.",
-                  default = "'fan'"
-                },
-                {
-                  name = "usage",
-                  type = "MeshUsage",
-                  description = "An optimization hint indicating how often the data in the Mesh will be updated.",
-                  default = "'dynamic'"
-                }
-              },
-              returns = {
-                {
-                  name = "mesh",
-                  type = "Mesh",
-                  description = "The new Mesh."
-                }
-              }
             }
           }
         },

+ 0 - 4
api/lovr/graphics/newMesh.lua

@@ -63,10 +63,6 @@ return {
     {
       arguments = { 'format', 'vertices', 'mode', 'usage' },
       returns = { 'mesh' }
-    },
-    {
-      arguments = { 'vertices', 'mode', 'usage' },
-      returns = { 'mesh' }
     }
   },
   notes = 'Once created, the size of the Mesh can\'t be changed.'