parent
77670d8ec0
commit
3a696ee58c
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function TexturedBox:drawTopTexture()
|
|||
end
|
||||
|
||||
function TexturedBox:drawBottomTexture()
|
||||
local w, h = self.topTexture:getDimensions()
|
||||
local w, h = self.bottomTexture:getDimensions()
|
||||
local sx = self.w / w
|
||||
local sy = self.d / h
|
||||
self.bottomTexture:draw(0, self.h, 0, sx, sy)
|
||||
|
|
Loading…
Reference in a new issue