fix(utils): add the method arguments to setSize

This commit is contained in:
Kazhnuz 2020-09-13 13:29:12 +02:00
parent bc45f866c2
commit 0114927ac0

View file

@ -61,7 +61,7 @@ function Box3D:setSizeFromOwner()
self:setSize(self.owner.w, self.owner.h, self.owner.d)
end
function Box3D:setSize()
function Box3D:setSize(w, h, d)
self.w = w
self.h = h
self.d = d