mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Remove unnecessary if
This commit is contained in:
parent
fdfe65167f
commit
f225499795
2
b3d.lua
2
b3d.lua
@ -412,7 +412,7 @@ local function write_rope(self)
|
||||
int(vertices.tex_coord_sets)
|
||||
int(vertices.tex_coord_set_size)
|
||||
for _, vertex in ipairs(vertices) do
|
||||
if vertex.pos then vector3(vertex.pos) end
|
||||
vector3(vertex.pos)
|
||||
if vertex.normal then vector3(vertex.normal) end
|
||||
if vertex.color then color(vertex.color) end
|
||||
for tex_coord_set = 1, vertices.tex_coord_sets do
|
||||
|
Loading…
Reference in New Issue
Block a user