Merge pull request #43 from ratkingsminion/patch-1

Fixing local variable
This commit is contained in:
vrld 2016-08-28 18:10:39 +02:00 committed by GitHub
commit 410cf048e2

View File

@ -421,7 +421,7 @@ end
function Polygon:intersectionsWithRay(x,y, dx,dy)
local nx,ny = vector.perpendicular(dx,dy)
local wx,xy,det
local wx,wy,det
local ts = {} -- ray parameters of each intersection
local q1,q2 = nil, self.vertices[#self.vertices]