Add Mesh:getAttachedAttributes.

This commit is contained in:
Alex Szpakowski
2020-02-28 23:01:35 -04:00
parent 4197a364fd
commit d77dabaa6b
4 changed files with 49 additions and 20 deletions
+1 -1
View File
@@ -1557,7 +1557,7 @@ static Mesh *newStandardMesh(lua_State *L)
PrimitiveType drawmode = luax_optmeshdrawmode(L, 2, PRIMITIVE_TRIANGLE_FAN);
BufferUsage usage = luax_optmeshusage(L, 3, BUFFERUSAGE_DYNAMIC);
auto format = Mesh::getDefaultVertexFormat();
std::vector<Buffer::DataDeclaration> format = Mesh::getDefaultVertexFormat();
// First argument is a table of standard vertices, or the number of
// standard vertices.