summaryrefslogtreecommitdiffstatshomepage
path: root/docs/luaengine.md
diff options
context:
space:
mode:
author Luca Bruno <lucab@debian.org>2015-03-09 08:43:17 +0100
committer Luca Bruno <lucab@debian.org>2015-03-16 11:42:46 +0100
commit05609ab9b1504a2ba62a6a23955590c82fd3865d (patch)
treeb4dbfc553978143df43a858a45785ccae2ab1f1d /docs/luaengine.md
parentb1a0e0167d8655e75275f7560958580ebce2d077 (diff)
luaengine: clip screen coordinates to screen size
Several users reported that negative coordinates are wrongly handled. This happens because we assumed using unsigned values only, while unfortunately in many real cases negative values happen when tracking objects partly off-screen. This patch makes all screen drawing methods accept unsigned values, but crop them between 0 and screen size values. Signed-off-by: Luca Bruno <lucab@debian.org>
Diffstat (limited to 'docs/luaengine.md')
0 files changed, 0 insertions, 0 deletions