Skip to content

Commit

Permalink
deleted over-agressive error checking on verts
Browse files Browse the repository at this point in the history
  • Loading branch information
groverburger committed Dec 15, 2021
1 parent 57161bc commit 3e54a20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion g3d/model.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ local function newModel(verts, texture, translation, rotation, scale)
if type(verts) == "string" then
verts = loadObjFile(verts)
end
assert(verts and type(verts) == "table", "Invalid vertices given to newModel")

-- if texture is a string, use it as a path to an image file
-- otherwise texture is already an image, so don't bother
Expand Down

0 comments on commit 3e54a20

Please sign in to comment.