|
@@ -40,7 +40,7 @@ function UnitPreview:update(dt)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
function UnitPreview:render(dt)
|
|
function UnitPreview:render(dt)
|
|
|
- Device.render(self._world, self._fpscamera:camera())
|
|
|
|
|
|
|
+ Device.render(self._world, self._fpscamera:unit())
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
function UnitPreview:shutdown()
|
|
function UnitPreview:shutdown()
|