fix(boxes): remove some test print.
This commit is contained in:
parent
a3b0f47127
commit
0993f1e8bb
1 changed files with 0 additions and 2 deletions
|
@ -123,7 +123,6 @@ end
|
|||
|
||||
function Box3D:redrawShadowCanvas()
|
||||
if (self.needRedraw) then
|
||||
print("DEBUG: Generating " .. #self.shadowSources .. " shadows")
|
||||
local canvas = love.graphics.newCanvas(self.w, self.h)
|
||||
love.graphics.setCanvas( canvas )
|
||||
for i,v in ipairs(self.shadowSources) do
|
||||
|
@ -150,7 +149,6 @@ function Box3D:draw(x, y, z)
|
|||
love.graphics.draw(self.texture.top, x, (y-z) - (self.d))
|
||||
love.graphics.draw(self.texture.bottom, x, (y-z) - (self.d) + (self.h))
|
||||
if (self.texture.shadows ~= nil) and (#self.shadowSources > 0) then
|
||||
print("DEBUG: Drawing " .. #self.shadowSources .. " shadow textures")
|
||||
love.graphics.draw(self.texture.shadows, x, (y-z) - (self.d))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue