mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-25 16:53:46 +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_sets)
|
||||||
int(vertices.tex_coord_set_size)
|
int(vertices.tex_coord_set_size)
|
||||||
for _, vertex in ipairs(vertices) do
|
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.normal then vector3(vertex.normal) end
|
||||||
if vertex.color then color(vertex.color) end
|
if vertex.color then color(vertex.color) end
|
||||||
for tex_coord_set = 1, vertices.tex_coord_sets do
|
for tex_coord_set = 1, vertices.tex_coord_sets do
|
||||||
|
Loading…
Reference in New Issue
Block a user