Learn more about cloning repositories
You have read-only access
Fix typo: the x offset was assigned to the y coordinate. Also remove a couple of useless casts.